Sha256: d335429373d9b18d19246451a9ab0f4f6b2d2d19a0515884f679c3c819a80184

Contents?: true

Size: 389 Bytes

Versions: 13

Compression:

Stored size: 389 Bytes

Contents

require "aws_data"

module TerraspacePluginAws::Interfaces
  class Expander
    include Terraspace::Plugin::Expander::Interface
    delegate :account, :region, to: :aws_data
    alias_method :namespace, :account
    alias_method :location, :region

    def aws_data
      $__aws_data ||= AwsData.new
    end

    def expand_string?(string)
      !string.include?("arn:")
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
terraspace_plugin_aws-0.6.1 lib/terraspace_plugin_aws/interfaces/expander.rb
terraspace_plugin_aws-0.6.0 lib/terraspace_plugin_aws/interfaces/expander.rb
terraspace_plugin_aws-0.5.1 lib/terraspace_plugin_aws/interfaces/expander.rb
terraspace_plugin_aws-0.5.0 lib/terraspace_plugin_aws/interfaces/expander.rb
terraspace_plugin_aws-0.4.2 lib/terraspace_plugin_aws/interfaces/expander.rb
terraspace_plugin_aws-0.4.1 lib/terraspace_plugin_aws/interfaces/expander.rb
terraspace_plugin_aws-0.4.0 lib/terraspace_plugin_aws/interfaces/expander.rb
terraspace_plugin_aws-0.3.8 lib/terraspace_plugin_aws/interfaces/expander.rb
terraspace_plugin_aws-0.3.7 lib/terraspace_plugin_aws/interfaces/expander.rb
terraspace_plugin_aws-0.3.6 lib/terraspace_plugin_aws/interfaces/expander.rb
terraspace_plugin_aws-0.3.5 lib/terraspace_plugin_aws/interfaces/expander.rb
terraspace_plugin_aws-0.3.4 lib/terraspace_plugin_aws/interfaces/expander.rb
terraspace_plugin_aws-0.3.3 lib/terraspace_plugin_aws/interfaces/expander.rb