Skip to content

billing-policies #30

Merged
merged 1 commit into from
May 24, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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