Sha256: a176ca178d9186942abf9246b66f758a3ed65e40d0db17acfb8d9c90bc52a517
Contents?: true
Size: 438 Bytes
Versions: 4
Compression:
Stored size: 438 Bytes
Contents
module LonoCfn class Delete include AwsServices def initialize(stack_name, options={}) @stack_name = stack_name @options = options @project_root = options[:project_root] || '.' end def run message = "Deleted #{@stack_name}." if @options[:noop] message = "NOOP #{message}" else cfn.delete_stack(stack_name: @stack_name) end puts message end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
lono-cfn-0.0.9 | lib/lono_cfn/delete.rb |
lono-cfn-0.0.8 | lib/lono_cfn/delete.rb |
lono-cfn-0.0.7 | lib/lono_cfn/delete.rb |
lono-cfn-0.0.6 | lib/lono_cfn/delete.rb |