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.
|
2 years ago | |
---|---|---|
.gitignore | 2 years ago | |
README.md | 2 years ago | |
atlantis.tf | 2 years ago | |
main.tf | 2 years ago | |
outputs.tf | 2 years ago | |
terraform-backend-cft.yaml | 2 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