Implementing Compliance in AWS with Terraform: Practical Steps That Work
summary
Open-source compliance.tf wrapper modules sit on top of the popular Terraform AWS modules (claimed to be provisioned several billion times) and enforce controls by injecting variable validations, preconditions and resource rules so noncompliant applies fail. The workflow shows scanners (Checkov Trivy KICS), Prowler and Steampipe identify issues, the project maps scanner IDs to Terraform fixes and CI gates plus AWS Config/SSM automations prevent drift. Demo enforces S3 server access logging, Terraform apply blocks until logging is enabled and Prowler then reports pass.
AI-written summary · about
chapters (11)
- 0:00Introduction and speaker intro
- 2:21Why compliance fails in AWS
- 7:46Shared responsibility in compliance
- 10:57AWS services for compliance
- 13:08Scanning tools for Terraform
- 18:04Compliance controls in Terraform
- 21:33GitOps and drift prevention
- 24:50Anti-patterns to avoid
- 27:41Demo of preventative controls
- 33:00Prowler scanning and results
- 34:05Summary and Q&A
