Skip to content

Commit

Permalink
billing-policies
Browse files Browse the repository at this point in the history
  • Loading branch information
ashle001 committed May 24, 2022
1 parent e776fb5 commit d512c16
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion billing-role/policy.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,20 @@ data "aws_iam_policy_document" "full_billing" {
resources = ["*"]

actions = [
"aws-portal:*",
"aws-portal:View*",
"ce:Describe*",
"ce:Get*",
"ce:List*",
"ce:CreateNotificationSubscription",
"ce:CreateReport",
"ce:DeleteNotificationSubscription",
"ce:DeleteReport",
"ce:UpdateNotificationSubscription",
"ce:UpdateReport",
"ce:UpdatePreferences",
"budgets:View*",
"budgets:Describe*",
#"budgets:*",
# add others, to allow cost explorer and budgets
]
}
Expand All @@ -18,6 +31,10 @@ data "aws_iam_policy_document" "limited_billing" {
resources = ["*"]

actions = [
"aws-portal:View*",
"ce:Describe*",
"ce:Get*",
"ce:List*",
# put in right set of things for cost explorer and read access to billing
]
}
Expand Down

0 comments on commit d512c16

Please sign in to comment.