From 3d5e8565354d7f3ac38760b2c9b432f18e0bf413 Mon Sep 17 00:00:00 2001 From: badra001 Date: Tue, 24 May 2022 15:00:16 -0400 Subject: [PATCH] fix --- billing-role/README.md | 28 ---------------------------- billing-role/policy.tf | 41 ----------------------------------------- 2 files changed, 69 deletions(-) delete mode 100644 billing-role/README.md delete mode 100644 billing-role/policy.tf diff --git a/billing-role/README.md b/billing-role/README.md deleted file mode 100644 index db3935a..0000000 --- a/billing-role/README.md +++ /dev/null @@ -1,28 +0,0 @@ -## Requirements - -No requirements. - -## Providers - -| Name | Version | -|------|---------| -| [aws](#provider\_aws) | n/a | - -## Modules - -No modules. - -## Resources - -| Name | Type | -|------|------| -| [aws_iam_policy_document.full_billing](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document) | data source | -| [aws_iam_policy_document.limited_billing](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document) | data source | - -## Inputs - -No inputs. - -## Outputs - -No outputs. diff --git a/billing-role/policy.tf b/billing-role/policy.tf deleted file mode 100644 index e94a654..0000000 --- a/billing-role/policy.tf +++ /dev/null @@ -1,41 +0,0 @@ -data "aws_iam_policy_document" "full_billing" { - statement { - sid = "FullBillingAccess" - effect = "Allow" - resources = ["*"] - - actions = [ - "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 - ] - } -} - -data "aws_iam_policy_document" "limited_billing" { - statement { - sid = "LimitedBillingAccess" - effect = "Allow" - 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 - ] - } -}