PRE-13 · Terraform change management
Infrastructure changes require a pull request, terraform plan review, and approval before apply.
Auditor test
PassSelected production Terraform merges and verified PR approval, successful plan artifact in CI, OIDC role assumption (no static keys), and apply restricted to protected environments.
Sample: 20 of 63 infrastructure PRs
Evidence artifacts
EV-TF-PLAN-01Terraform plan artifact (excerpt)GitHub Actions
Plan for adding a GuardDuty publishing destination; no destroys; apply gated on environment approval.
Terraform used the selected providers to generate the following execution plan.
Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
# aws_guardduty_publishing_destination.security_logging will be created
+ resource "aws_guardduty_publishing_destination" "security_logging" {
+ destination_arn = "arn:aws:s3:::praeparo-gd-findings"
+ destination_type = "S3"
+ detector_id = "abc123"
+ kms_key_arn = "arn:aws:kms:us-east-1:999988887777:key/gd"
}
Plan: 1 to add, 0 to change, 0 to destroy.
Workflow: terraform-prod.yml
OIDC role: arn:aws:iam::999988887777:role/gha-terraform-plan
Static keys in workflow: none
EV-GH-PR-01Infrastructure pull request approvalGitHub
PR
repository: praeparo/infra
pull_request: 842
title: "feat(gd): publish GuardDuty findings to security-logging"
author: j.ortiz
base: main
required_checks:
- terraform-plan (pass)
- tflint (pass)
- checkov (pass)
reviews:
- reviewer: a.nguyen
state: APPROVED
submitted_at: 2028-03-18T16:21:10Z
merged_by: a.nguyen
merged_at: 2028-03-18T16:27:58Z
environment_approval: production (approved by platform-oncall)
Conclusion
Sampled changes followed PR + plan + approval. One change had a late approval after plan; still prior to apply. No static AWS keys in workflows.
Also appears in Section 4 of the mock report.