Class: CloudFormationTool::CLI::Delete

Inherits:
Clamp::Command
  • Object
show all
Defined in:
lib/cloud_formation_tool/cli/delete.rb

Instance Method Summary collapse

Instance Method Details

#executeObject



8
9
10
11
12
13
14
# File 'lib/cloud_formation_tool/cli/delete.rb', line 8

def execute
  st = CloudFormation::Stack.new(stack_name)
  start = Time.now
  st.delete
  log "Deleted stack #{stack_name}"
  st.monitor(start)
end