Method: SimpleDeploy::StackUpdater#update_stack

Defined in:
lib/simple_deploy/stack/stack_updater.rb

#update_stack(attributes) ⇒ Object



14
15
16
17
18
19
20
21
22
# File 'lib/simple_deploy/stack/stack_updater.rb', line 14

def update_stack(attributes)
  if parameter_updated?(attributes) || @template_body
    @logger.debug 'Updated parameters or new template found.'
    update
  else
    @logger.debug 'No parameters require updating and no new template found.'
    false
  end
end