Skip to content

Terra Service Perimeter Terraform

Ariel Schwartz edited this page Jul 21, 2021 · 7 revisions

Update Service Perimeter

Service Perimeter Terraform is managed in Terra's DevOps Repo. Steps to make Terraform change in that repo:

  1. Create a PR with your change.
  2. Leave a PR comment: atlantis plan -p perimeters-dev, Atlantis will execute terraform plan for that perimeter environment and print out the plan result as a github comment.
  3. Verify the terraform plan result. If correct, send the PR out for review.
  4. Get Broad DevOps Approval to be able to apply the terraform change. (tip: send a slack message in Broad's #dsp-devops-champions slack channel)
  5. Leave a PR comment: atlantis apply -p perimeters-dev to apply step2's plan result in the Terra dev environment (for AoU Test and Local).
  6. To plan & apply in the other two Terra environments (perf - for AoU Perf, prod - for AoU Staging, Stable, Preprod and Prod), replace -p perimeters-dev with -p perimeters-perf or -p perimeters-prod.
  7. To plan & apply in all envs, run atlantis plan then atlantis apply
  8. Merge the PR

Sample PR