Give AI Agents Read-Only Access to Your Terraform Registry, and Nothing Else
Let agents read your private module registry with an identity that can do nothing else.
Writing
Articles, short notes and production case studies on cloud security, identity and access, and policy-as-code: what worked, what didn't, and why. RSS
Let agents read your private module registry with an identity that can do nothing else.
Plan, merge, apply and live are four milestones. Most "it's done" mistakes confuse one for the next.
A long service allow-list can outgrow a single SCP. How to stay under the limit and keep it maintainable.
A run with full subscription rights can still be refused by a locked-down Key Vault. Check the data-plane role and where the run comes from.
Workload identity federation removes the stored secret. The subject claim decides who gets the identity instead.
Every consumer of a shared module inherits a provider's breaking changes, whether or not the module changes.
On live resources, a count-to-for_each refactor is a destroy and create unless you tell Terraform otherwise.
An IRSA trust policy without an exact sub condition trusts every service account in the cluster.
RDS IAM tokens expire in 15 minutes. The connections they open don't.
Same permission name, very different blast radius: one acts for a user, the other for the whole tenant.