Skip to content

Latest commit

 

History

History
61 lines (44 loc) · 993 Bytes

README.md

File metadata and controls

61 lines (44 loc) · 993 Bytes

Example AWS infrastructure layout in Terragrunt

Based on the following references:

Prerequisites:

  • terraform >= 0.13
  • terragrunt >= 0.27

Pre-commit installation:

git secrets --install
pre-commit install -f
pre-commit run -a

Create Multi-region Staging Infrastructure:

  1. Create and use .envrc file with Staging AWS account id from example
cd staging
cp .envrc.example .envrc
source .envrc
  1. Create Infra
make apply
  1. Destroy Infra
make destroy

Create Multi-region Production Infrastructure:

  1. Create and use .envrc file with Production AWS account id from example
cd production
cp .envrc.example .envrc
source .envrc
  1. Create Infra
make apply
  1. Destroy Infra
make destroy