Developers keep creating resources in the AWS console instead of using Terraform. How do you change that?
BeginnerScenarioTeam and process
Answer
Situation read → People take the easiest path. If Terraform is slow and confusing, the console wins. Make the right way easy, then restrict the wrong one.
What I'd do →
- Ask why: usually slow reviews, hard modules, or no access to the Terraform repo.
- Provide simple modules and examples for the common needs (S3 bucket, queue, database) with good defaults.
- Fast PR-based workflow: plan comments on PRs and quick reviews.
- Give developers console access in sandbox and dev accounts, read-only in staging and prod.
- Detect console changes in prod (CloudTrail events where
userAgentshows the console) and follow up.
Why → Guardrails without a good paved road just create frustration and workarounds.
Interview tip → Say "pave the road before you put up the fence".
More on Team and process
You join a company where everything is deployed by hand over SSH and there's no IaC. What do you do in your first 90 days?IntermediateLeadership wants an internal developer platform. Where do you start?AdvancedA product team needs new infrastructure urgently, but your team is in the middle of a critical security upgrade. How do you handle it?BeginnerDesign an on-call rotation for a six-person team that also builds features.BeginnerManagement wants a change approval board after a bad outage. How do you introduce change management without slowing everyone down?IntermediateOnly one engineer knows how the billing infrastructure works and they're going on leave. What do you do?Beginner