diff options
| author | Alex Schofield <git@ajschof.me> | 2024-08-14 22:58:50 +0100 |
|---|---|---|
| committer | Alex Schofield <git@ajschof.me> | 2024-08-14 22:58:50 +0100 |
| commit | 3f89444cb09f0372b6a7621913944e372acd826c (patch) | |
| tree | c46cc64b788cf3c58af9a5c09851e0585d07596c /terraform | |
| parent | 3d15fec47fa2c1f8ff25013e23d069f0eaa02f3f (diff) | |
| download | de-project-bentley-3f89444cb09f0372b6a7621913944e372acd826c.tar.gz de-project-bentley-3f89444cb09f0372b6a7621913944e372acd826c.zip | |
infra(tf): temporarily remove events policies
Diffstat (limited to 'terraform')
| -rw-r--r-- | terraform/iam.tf | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/terraform/iam.tf b/terraform/iam.tf index 6c6b4fc..20aeab3 100644 --- a/terraform/iam.tf +++ b/terraform/iam.tf @@ -143,31 +143,3 @@ resource "aws_iam_role_policy_attachment" "cw_attachment" { ################ # RDS POLICIES # ################ - -################### -# EVENTS POLICIES # -################### - -data "aws_iam_policy_document" "cloudwatch_events_policy" { - statement { - actions = [ - "events:PutRule", - "events:PutTargets", - "events:RemoveTargets", - "events:DeleteRule", - "events:PutEvents" - ] - resources = ["*"] - effect = "Allow" - } -} - -resource "aws_iam_policy" "cloudwatch_events_policy" { - name = "cloudwatch_events_policy" - policy = data.aws_iam_policy_document.cloudwatch_events_policy.json -} - -resource "aws_iam_role_policy_attachment" "cloudwatch_events_attachment" { - role = aws_iam_role.multi_service_role.name - policy_arn = aws_iam_policy.cloudwatch_events_policy.arn -} |
