Class: AwsAsCode::Task::Update
- Includes:
- Concerns::AwsTaskHelpers
- Defined in:
- lib/aws_as_code/task/update.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from AwsAsCode::Task::Base
Instance Method Details
#execute ⇒ Object
8 9 10 11 12 13 14 15 16 |
# File 'lib/aws_as_code/task/update.rb', line 8 def execute semaphore.wait(stack) do cloud_formation .update_stack stack_name: config.stack, template_url: template_object.public_url, parameters: parameters end exit_code_for_stack_state stack.reload end |