Example of a Terraform repo for managing infrastructure
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 giving atlantis ample access to deploy 3 years ago
.gitignore add example code so far 3 years ago
README.md add example code so far 3 years ago
atlantis.tf giving atlantis ample access to deploy 3 years ago
main.tf add example code so far 3 years ago
outputs.tf add example code so far 3 years ago
terraform-backend-cft.yaml add example code so far 3 years ago

README.md

terraform-live-example

Example of a Terraform repo for managing infrastructure

Atlantis Setup

  1. Setup terraform state backend (S3 + DynamoDB)
aws cloudformation deploy \
    --stack-name missionsa-atlantis-backend \
    --template-file ./terraform-backend-cft.yaml
  1. Setup secrets
aws ssm put-parameter \
    --name "github_user" \
    --type "String" \
    --value "myusername"

aws ssm put-parameter \
    --name "github_token" \
    --type "String" \
    --value "myusertoken"
  1. Terraform init and apply
terraform init
terraform apply