stavxyz / terraform-aws-backend

A Terraform module for your AWS Backend + a guide for bootstrapping your terraform managed project
Apache License 2.0
53 stars 32 forks source link

improve documentation #1

Open stavxyz opened 6 years ago

stavxyz commented 6 years ago

Updates:

I like the idea of doing something magical like this:

curl https://raw.githubusercontent.com/samstav/terraform-aws-backend/master/setup.sh | bash

Could inspect the environment and be stupid proof.

add example for skipping dynamodb lock table

# This is the infra code for terraform itself (state bucket, lock table, etc.)
module "backend" {
  source = "github.com/samstav/terraform-aws-backend"
  backend_bucket = "your-terraform-state-bucket"
  # this prevents the dynamodb lock table from being created
  # which means you'll probably also set `dynamodb_table = false` in your terraform block
  dynamodb_lock_table_enabled = 0
}