Sha256: 8f8fbbd1c2071472c92c4ce0e41dcdedd18cea86811c76649a14bd885105cff5
Contents?: true
Size: 797 Bytes
Versions: 3
Compression:
Stored size: 797 Bytes
Contents
class Lono::Sets class Create < Base def save message = "Creating #{@stack.color(:green)} stack set." if @options[:noop] puts "NOOP #{message}" return end if stack_set_exists?(@stack) puts "Cannot create #{@stack.color(:green)} stack set because it already exists.".color(:red) return end unless File.exist?(template_path) puts "Cannot create #{@stack.color(:green)} template not found: #{template_path}." return end options = build_options show_options(options, "cfn.create_stack_set") cfn.create_stack_set(options) # resp.stack_set_id => String. There is no resp.operation_id puts message unless @options[:mute] true # There is no resp.operation_id end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
lono-7.5.2 | lib/lono/sets/create.rb |
lono-7.5.1 | lib/lono/sets/create.rb |
lono-7.5.0 | lib/lono/sets/create.rb |