Sha256: b1ac4848738f88536eed01fda7ecf898b2ea962e7a827f20a97d9c2dfe706f2e
Contents?: true
Size: 535 Bytes
Versions: 29
Compression:
Stored size: 535 Bytes
Contents
class Lono::Cfn class Rollback extend Memoist include Lono::AwsServices def initialize(stack) @stack = stack end def delete_stack stack = find_stack(@stack) if stack && rollback_complete?(stack) puts "Existing stack in ROLLBACK_COMPLETE state. Deleting stack before continuing." cfn.delete_stack(stack_name: @stack) status.wait status.reset true end end def status Lono::Cfn::Status.new(@stack) end memoize :status end end
Version data entries
29 entries across 29 versions & 1 rubygems