article --summary
The summary
Cost reports can show which IAM role ran up an AI bill, but not who owns that role unless someone tagged it. The piece argues that this gap matters more now that token use varies widely between runs and models are poor at predicting their own costs, so tracing spend to an accountable owner after the fact is the main control left. It treats the IAM role as the point where cost, risk, and ownership meet.
The author provides a query over the new CUR 2.0 caller-identity data that lists this month's Bedrock spend by principal and flags any role whose owner tag is missing or not an email address. Next comes a per-owner budget alert through AWS Budgets, and a Rego policy for env zero that rejects new IAM roles without an email owner tag and rejects policies granting Bedrock actions on every resource. The same rules can run in conftest or another CI step by swapping a small wrapper block for a single line.
Editorial note: This is a summary of an article first published by The New Stack. The full piece is on their site.