Sha256: e441d47b32b2ff10e75011287d74a734fb0b448753dcd7edb9dd05b5a734805d

Contents?: true

Size: 359 Bytes

Versions: 19

Compression:

Stored size: 359 Bytes

Contents

require "aws_data"

module TerraspacePluginAws::Interfaces
  class Layer
    include Terraspace::Plugin::Layer::Interface
    extend Memoist

    # interface method
    def namespace
      aws_data.account
    end

    # interface method
    def region
      aws_data.region
    end

    def aws_data
      AwsData.new
    end
    memoize :aws_data
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
terraspace_plugin_aws-0.6.1 lib/terraspace_plugin_aws/interfaces/layer.rb
terraspace_plugin_aws-0.6.0 lib/terraspace_plugin_aws/interfaces/layer.rb
terraspace_plugin_aws-0.5.1 lib/terraspace_plugin_aws/interfaces/layer.rb
terraspace_plugin_aws-0.5.0 lib/terraspace_plugin_aws/interfaces/layer.rb
terraspace_plugin_aws-0.4.2 lib/terraspace_plugin_aws/interfaces/layer.rb
terraspace_plugin_aws-0.4.1 lib/terraspace_plugin_aws/interfaces/layer.rb
terraspace_plugin_aws-0.4.0 lib/terraspace_plugin_aws/interfaces/layer.rb
terraspace_plugin_aws-0.3.8 lib/terraspace_plugin_aws/interfaces/layer.rb
terraspace_plugin_aws-0.3.7 lib/terraspace_plugin_aws/interfaces/layer.rb
terraspace_plugin_aws-0.3.6 lib/terraspace_plugin_aws/interfaces/layer.rb
terraspace_plugin_aws-0.3.5 lib/terraspace_plugin_aws/interfaces/layer.rb
terraspace_plugin_aws-0.3.4 lib/terraspace_plugin_aws/interfaces/layer.rb
terraspace_plugin_aws-0.3.3 lib/terraspace_plugin_aws/interfaces/layer.rb
terraspace_plugin_aws-0.3.2 lib/terraspace_plugin_aws/interfaces/layer.rb
terraspace_plugin_aws-0.3.1 lib/terraspace_plugin_aws/interfaces/layer.rb
terraspace_plugin_aws-0.3.0 lib/terraspace_plugin_aws/interfaces/layer.rb
terraspace_plugin_aws-0.2.2 lib/terraspace_plugin_aws/interfaces/layer.rb
terraspace_plugin_aws-0.2.1 lib/terraspace_plugin_aws/interfaces/layer.rb
terraspace_plugin_aws-0.2.0 lib/terraspace_plugin_aws/interfaces/layer.rb