Class: StackMaster::AwsDriver::CloudFormation

Inherits:
Object
  • Object
show all
Defined in:
lib/stack_master/aws_driver/cloud_formation.rb

Instance Method Summary collapse

Instance Method Details

#cancel_update_stack(options) ⇒ Object



19
20
21
# File 'lib/stack_master/aws_driver/cloud_formation.rb', line 19

def cancel_update_stack(options)
  cf.cancel_update_stack(options)
end

#create_stack(options) ⇒ Object



43
44
45
# File 'lib/stack_master/aws_driver/cloud_formation.rb', line 43

def create_stack(options)
  cf.create_stack(options)
end

#delete_stack(options) ⇒ Object



9
10
11
# File 'lib/stack_master/aws_driver/cloud_formation.rb', line 9

def delete_stack(options)
  cf.delete_stack(options)
end

#describe_stack_events(options) ⇒ Object



35
36
37
# File 'lib/stack_master/aws_driver/cloud_formation.rb', line 35

def describe_stack_events(options)
  cf.describe_stack_events(options)
end

#describe_stack_resources(options) ⇒ Object



23
24
25
# File 'lib/stack_master/aws_driver/cloud_formation.rb', line 23

def describe_stack_resources(options)
  cf.describe_stack_resources(options)
end

#describe_stacks(options) ⇒ Object



13
14
15
16
17
# File 'lib/stack_master/aws_driver/cloud_formation.rb', line 13

def describe_stacks(options)
  retry_with_backoff do
    cf.describe_stacks(options)
  end
end

#get_stack_policy(options) ⇒ Object



31
32
33
# File 'lib/stack_master/aws_driver/cloud_formation.rb', line 31

def get_stack_policy(options)
  cf.get_stack_policy(options)
end

#get_template(options) ⇒ Object



27
28
29
# File 'lib/stack_master/aws_driver/cloud_formation.rb', line 27

def get_template(options)
  cf.get_template(options)
end

#set_region(region) ⇒ Object



4
5
6
7
# File 'lib/stack_master/aws_driver/cloud_formation.rb', line 4

def set_region(region)
  @region = region
  @cf = nil
end

#update_stack(options) ⇒ Object



39
40
41
# File 'lib/stack_master/aws_driver/cloud_formation.rb', line 39

def update_stack(options)
  cf.update_stack(options)
end

#validate_template(options) ⇒ Object



47
48
49
# File 'lib/stack_master/aws_driver/cloud_formation.rb', line 47

def validate_template(options)
  cf.validate_template(options)
end