Sha256: 0e20b2c758d5463aa0a0ec5a10ea33e449cf1c39e2721b3476624d756973f740

Contents?: true

Size: 343 Bytes

Versions: 27

Compression:

Stored size: 343 Bytes

Contents

module Convection
  module Control
    # Monkey patch functions defined on Stack for use during terraform
    # export.
    class Stack
      alias _original_cloud cloud
      def cloud
        '${var.cloud}'
      end

      alias _original_region region
      def region
        '${data.aws_region.current.name}'
      end
    end
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
convection-2.3.1 lib/convection/terraform/ext/stack.rb
convection-2.3.0 lib/convection/terraform/ext/stack.rb
convection-2.2.29 lib/convection/terraform/ext/stack.rb
convection-2.2.28.pre.beta.2 lib/convection/terraform/ext/stack.rb
convection-2.2.28.pre.beta.1 lib/convection/terraform/ext/stack.rb
convection-2.2.27 lib/convection/terraform/ext/stack.rb
convection-2.2.26 lib/convection/terraform/ext/stack.rb
convection-2.2.25 lib/convection/terraform/ext/stack.rb
convection-2.2.24 lib/convection/terraform/ext/stack.rb
convection-2.2.23 lib/convection/terraform/ext/stack.rb
convection-2.2.22 lib/convection/terraform/ext/stack.rb
convection-2.2.21 lib/convection/terraform/ext/stack.rb
convection-2.2.20 lib/convection/terraform/ext/stack.rb
convection-2.2.19 lib/convection/terraform/ext/stack.rb
convection-2.2.18 lib/convection/terraform/ext/stack.rb
convection-2.2.17 lib/convection/terraform/ext/stack.rb
convection-2.2.16 lib/convection/terraform/ext/stack.rb
convection-2.2.15 lib/convection/terraform/ext/stack.rb
convection-2.2.14 lib/convection/terraform/ext/stack.rb
convection-2.2.13 lib/convection/terraform/ext/stack.rb