Method: Formatron::AWS::CloudFormationStack#update
- Defined in:
- lib/formatron/aws/cloud_formation_stack.rb
#update(template_url:, parameters:) ⇒ Object
57 58 59 60 61 62 63 64 65 66 67 68 |
# File 'lib/formatron/aws/cloud_formation_stack.rb', line 57 def update(template_url:, parameters:) last_event_id = _last_event_id return unless _update_unless_no_changes( template_url: template_url, parameters: parameters ) status = _wait_for_status( statuses: UPDATE_FINAL_STATUSES, last_event_id: last_event_id ) fail status unless status.eql? UPDATE_COMPLETE_STATUS end |