Terraspace AWS Plugin

BoltOps Badge

AWS Cloud support for terraspace.

Installation

Add this line to your application's Gemfile:

gem 'terraspace_plugin_aws'

Configure

Terraspace Docs: AWS Terraspace Plugin

Optionally configure the plugin. Here's an example aws.rb for your terraspace project.

config/plugins/aws.rb

TerraspacePluginAws.configure do |config|
  config.auto_create = true # set to false to completely disable auto creation

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

  config.dynamodb.encryption = true
  config.dynamodb.kms_master_key_id = nil
  config.dynamodb.sse_type = "KMS"
end

By default:

The settings generally only apply if the s3 bucket or dynamodb table do not yet exist yet and is created for the first time.

If using kms_master_key_id it must already exist.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/boltops-tools/terraspace_plugin_aws.