Sha256: a51eee3b3b6e638caf1409a36a9cadc35f1c80ba8695e438387ef58427698ff5

Contents?: true

Size: 314 Bytes

Versions: 3

Compression:

Stored size: 314 Bytes

Contents

module Lono::Cfn
  class Delete < Base
    def run
      plan.for_delete
      sure?("Are you sure you want to delete the #{@stack} stack?")
      cfn.delete_stack(stack_name: @stack)
      if @options[:wait]
        status.wait
      else
        logger.info "Deleting stack #{@stack}"
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
lono-8.0.0.pre.rc3 lib/lono/cfn/delete.rb
lono-8.0.0.pre.rc2 lib/lono/cfn/delete.rb
lono-8.0.0.pre.rc1 lib/lono/cfn/delete.rb