aboutsummaryrefslogtreecommitdiffstats
path: root/terraform
diff options
context:
space:
mode:
authorAlex Schofield <git@ajschof.me>2024-08-14 22:58:50 +0100
committerAlex Schofield <git@ajschof.me>2024-08-14 22:58:50 +0100
commit3f89444cb09f0372b6a7621913944e372acd826c (patch)
treec46cc64b788cf3c58af9a5c09851e0585d07596c /terraform
parent3d15fec47fa2c1f8ff25013e23d069f0eaa02f3f (diff)
downloadde-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.tf28
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
-}
git.ajschof.me — hosted by ajschofield — powered by cgit