Sha256: 87f1778e2af200ef15807c11f056baf500674ee9e5279d9448360a6854f227d4

Contents?: true

Size: 257 Bytes

Versions: 4

Compression:

Stored size: 257 Bytes

Contents

module Terraspace::Terraform::Ihooks::After
  class Destroy < Terraspace::Terraform::Ihooks::Base
    def run
      return unless Terraspace.cloud?
      Terraspace::Cloud::Update.new(@options.merge(stack: @mod.name, kind: "destroy")).run
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
terraspace-2.0.3 lib/terraspace/terraform/ihooks/after/destroy.rb
terraspace-2.0.2 lib/terraspace/terraform/ihooks/after/destroy.rb
terraspace-2.0.1 lib/terraspace/terraform/ihooks/after/destroy.rb
terraspace-2.0.0 lib/terraspace/terraform/ihooks/after/destroy.rb