Skip to content

Commit

Permalink
add policy.tf for billing
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed May 24, 2022
1 parent 31c7ad8 commit e776fb5
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions billing-role/policy.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
data "aws_iam_policy_document" "full_billing" {
statement {
sid = "FullBillingAccess"
effect = "Allow"
resources = ["*"]

actions = [
"aws-portal:*",
# add others, to allow cost explorer and budgets
]
}
}

data "aws_iam_policy_document" "limited_billing" {
statement {
sid = "LimitedBillingAccess"
effect = "Allow"
resources = ["*"]

actions = [
# put in right set of things for cost explorer and read access to billing
]
}
}

0 comments on commit e776fb5

Please sign in to comment.