You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lza_menace 22d2fc92ea | 3 years ago | |
---|---|---|
.gitignore | 3 years ago | |
README.md | 3 years ago | |
atlantis.tf | 3 years ago | |
main.tf | 3 years ago | |
outputs.tf | 3 years ago | |
terraform-backend-cft.yaml | 3 years ago |
README.md
terraform-live-example
Example of a Terraform repo for managing infrastructure
Atlantis Setup
- Setup terraform state backend (S3 + DynamoDB)
aws cloudformation deploy \
--stack-name missionsa-atlantis-backend \
--template-file ./terraform-backend-cft.yaml
- Setup secrets
aws ssm put-parameter \
--name "github_user" \
--type "String" \
--value "myusername"
aws ssm put-parameter \
--name "github_token" \
--type "String" \
--value "myusertoken"
- Terraform init and apply
terraform init
terraform apply