IaC for AWS commons resource
Key | Description |
---|---|
AWS_ACCESS_KEY_ID | Your aws access key id |
AWS_SECRET_ACCESS_KEY | Your aws secret access key |
AWS_DEFAULT_REGION | ap-northeast-1 |
-
Create aws.env file
$ touch .env/aws.env
-
Edit aws.env for docker bind mount
// aws.env AWS_ACCESS_KEY_ID=1234567890 AWS_SECRET_ACCESS_KEY=1234567890 AWS_DEFAULT_REGION=ap-northeast-1
ArgumentName | Description |
---|---|
AWSCLI_VERSION | AWS Cli (Release) |
TERRAFORM_VERSION | Terraform (Release) |
TERRAGRUNT_VERSION | Terragrunt (Release) |
How execute terragrunt command
# Or docker-compose up --build
$ make b_u
# Or docker-compose exec {container-name} /bin/bash
$ make e
$ cd /app
# Or terragrunt run-all plan
$ sh scripts/all_plan.sh
# Or terragrunt run-all apply
$ sh scripts/all_apply.sh