Skip to content

Release 3510

Choose a tag to compare

@github-actions github-actions released this 10 Jun 07:23
fe082b7

Context

Adding a validate infra workflow to detect any changes in SD Infra Terraform

Changes proposed in this pull request

Add a new GitHub action workflow validate-infrastructure.yml.
${DETAILED_EXITCODE} added to Terraform plan in Makefile.
TEAMS_WEBHOOK_URL_INFRA added as an Action repository secret.

Guidance to review

Manually test changes by altering terraform/domains/environment_domains/config/production.tfvars.json limit and running locally the following command.
make production domains-plan
This will produce a Terraform update in place.

To validate the workflow once available. Make a test branch with a change to terraform/domains/environment_domains/config/production.tfvars.json limit. Run the workflow against that branch. It must produce a post in the SD Infra Alerts Teams channel with description Domains environment infrastructure drift detected in production

Link to Trello card

https://trello.com/c/p76gfyrn/2683-schedule-validate-infra-workflow

Checklist

  • Attach to Trello card
  • Rebased main
  • Cleaned commit history
  • Tested by running locally