You want app teams to get compliant AKS clusters without writing Terraform themselves. How?
AdvancedScenarioIdentity, Access and Governance
Answer
Situation read → Platform engineering problem: golden path module plus self-service.
What I'd do →
- Build an internal Terraform module wrapping AVM's AKS module with our defaults (Overlay + Cilium, Entra RBAC, workload identity, monitoring, policy add-on, maintenance windows)
- Expose it through a self-service flow: a PR to a "clusters" repo with a small
tfvarsfile, or Azure Deployment Environments catalog items - CI runs plan, policy checks (Checkov, Azure Policy at deploy), platform approval, apply
- Flux extension bootstraps each new cluster with baseline platform components
Why → Teams get speed, the platform team keeps control, and every cluster is built the same way.
Interview tip → Name the golden path idea and the guardrails, not just the tool.
More on Identity, Access and Governance
A new developer joins and needs to deploy to the dev resource group only. How do you give access?BeginnerYour GitHub Actions workflow uses a client secret stored in a repo secret. Security wants it gone. What do you do?BeginnerAuditors ask "who has Owner on production, and why?" How do you answer and fix it?IntermediateA VM application needs to read blobs from one container. How do you set up access without keys?IntermediateTeams keep creating resources in random regions and without tags. How do you stop it?BeginnerA contractor needs temporary read access to logs for two weeks. How do you handle it?Beginner