Access as Code: Scalable AWS Permissions with Terraform and Atlantis
summary
A scalable Access-as-Code pipeline that creates per-repository IAM roles and manages them from a centralized repo where each service is one YAML file, enforced by PRs needing two approvals. Terraform modules generate roles and runner groups; Atlantis posts plans and gates applies. Static AWS keys are removed in favor of Just-in-time AWS credentials minted per job with a strict naming convention. The system automates roughly 50 access requests into a git-based workflow and successfully eliminates manual ticketing and unmanaged long-lived secrets.
AI-written summary · about
chapters (14)
- 0:00Introduction and speaker intro
- 1:08Company background and context
- 4:34Real-world access example
- 5:37Early access management challenges
- 7:03Centralizing CI/CD workflows
- 9:13Enforcing Four Eyes Principle
- 10:18Eliminating static AWS keys
- 11:44Operational complexity and Terraform
- 13:11Kubernetes access model analogy
- 14:16JSON to YAML migration
- 15:41Introducing Atlantis for Terraform
- 16:44Self-service access for teams
- 17:27Key outcomes and benefits
- 18:30Q&A session
