Method: CloudFormationTool::CLI::Create#execute
- Defined in:
- lib/cloud_formation_tool/cli/create.rb
#execute ⇒ Object
14 15 16 17 18 19 20 21 22 |
# File 'lib/cloud_formation_tool/cli/create.rb', line 14 def execute name = stack_name || File.basename(File.dirname(File.(file))) st = CloudFormation::Stack.new(name) log "Creating stack #{name}" start = Time.now log "Created " + st.create(file, get_params).to_s st.monitor(start) puts st.output end |