Skip to content

Instantly share code, notes, and snippets.

@tianhuil
Created August 13, 2025 19:07
Show Gist options
  • Save tianhuil/dd59efb5773882020b12367cc3b90f7b to your computer and use it in GitHub Desktop.
Save tianhuil/dd59efb5773882020b12367cc3b90f7b to your computer and use it in GitHub Desktop.
AWS IAM Root permissions minus billing
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": "*",
"Resource": "*"
},
{
"Effect": "Deny",
"Action": [
"budgets:ModifyBudget",
"budgets:CreateBudget",
"budgets:DeleteBudget",
"aws-portal:ModifyBilling",
"aws-portal:ModifyPaymentMethods",
"aws-portal:ModifyAccount",
"aws-portal:ModifyUsage",
"aws-portal:ModifyCredits"
],
"Resource": "*"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment