class CloudFormationTool::CLI::Create
Public Instance Methods
execute()
click to toggle source
# File lib/cloud_formation_tool/cli/create.rb, line 14 def execute name = stack_name || File.basename(File.dirname(File.expand_path(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