Interview Prep/Terraform/CI/CD and Automation

How do you stop engineers from applying from their laptops?

AdvancedProductionCI/CD and Automation
Answer

Remove the permission, not just the habit. Humans get read-only roles in prod; only the CI role can assume the apply role, restricted by OIDC sub claim to the protected branch. Backend IAM denies state writes to everyone else. Document a break-glass role with MFA, session recording and alerts.

All Terraform questions Roadmap: Terraform in production

More on CI/CD and Automation