Skip to content

terraform-aws-backend

This Repo is used to bootstrap new AWS account, and prepare them to be used with Terraform. Creates:

  • backend S3 bucket
  • DynamoDB table
  • KMS key

for managing Terraform state.

Diagram

AWS S3 Backend

Perquisites

1
2
3
4
5
aws-vault add x-master
git clone REPO_URL
cd REPO_PATH
pre-commit install
tfenv install

Terraform Ops

Add Target Account block in Makefile.

1
make bootstrap-master