Class: Cody::Stack::Update
Instance Method Summary collapse
Methods inherited from Base
Methods included from Status
Methods included from AwsServices
Methods included from AwsServices::Helpers
#are_you_sure?, #find_stack, #inferred_project_name, #inferred_stack_name, #normalize_stack_name, #project_name_convention, #stack_exists?
Constructor Details
This class inherits a constructor from Cody::Stack::Base
Instance Method Details
#perform ⇒ Object
3 4 5 6 7 8 9 10 |
# File 'lib/cody/stack/update.rb', line 3 def perform cfn.update_stack( stack_name: @stack_name, template_body: YAML.dump(@template), capabilities: ["CAPABILITY_IAM"] ) puts "Updating stack #{@stack_name}. Check CloudFormation console for status." end |