Sha256: d99b69cb7769351321bf10f1ca1db961d5f126ca0b11c072c2419aec8c33cafa

Contents?: true

Size: 758 Bytes

Versions: 1

Compression:

Stored size: 758 Bytes

Contents

module TerraspacePluginAws::Interfaces
  class Config
    include Terraspace::Plugin::Config::Interface
    include Singleton

    def provider
      "aws"
    end

    def defaults
      c = ActiveSupport::OrderedOptions.new
      c.s3 = ActiveSupport::OrderedOptions.new
      c.dynamodb = ActiveSupport::OrderedOptions.new

      c.s3.encryption = true
      c.s3.enforce_ssl = true
      c.s3.versioning = true
      c.s3.lifecycle = true
      c.s3.access_logging = true
      c.s3.secure_existing = false # run the security controls on existing buckets. by default, only run on newly created bucket the first time

      c.dynamodb.encryption = true
      c.dynamodb.kms_master_key_id = nil
      c.dynamodb.sse_type = "KMS"

      c
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
terraspace_plugin_aws-0.0.0 lib/terraspace_plugin_aws/interfaces/config.rb