class TerraspacePluginAws::Interfaces::Config

Public Instance Methods

defaults() click to toggle source

interface method

# File lib/terraspace_plugin_aws/interfaces/config.rb, line 13
def defaults
  c = ActiveSupport::OrderedOptions.new

  c.auto_create = true

  c.s3 = ActiveSupport::OrderedOptions.new
  c.s3.encryption = true
  c.s3.enforce_ssl = true
  c.s3.versioning = true
  c.s3.lifecycle = true
  c.s3.access_logging = false
  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 = ActiveSupport::OrderedOptions.new
  c.dynamodb.encryption = true
  c.dynamodb.kms_master_key_id = nil
  c.dynamodb.sse_type = "KMS"

  c
end
provider() click to toggle source

interface method load_project_config: config/plugins/aws.rb

# File lib/terraspace_plugin_aws/interfaces/config.rb, line 8
def provider
  "aws"
end