Interview Prep/AWS/Observability, Secrets, KMS and CloudFormation

How do you enforce that every CloudFormation or Terraform change is reviewed for security before deploy?

IntermediateScenarioObservability, Secrets, KMS and CloudFormation
Answer

Situation read → Policy as code in CI.

What I'd do →

  1. Run cfn-guard validate or checkov on templates in pull requests
  2. Fail on high severity
  3. Require approval in the pipeline
  4. Use SCP as the backstop
  5. Report in Security Hub

Why → Shifting left is cheaper than detecting later.

Interview tip → Policies in version control are auditable.

aws All AWS questions

More on Observability, Secrets, KMS and CloudFormation