Skip to content

Commit

Permalink
remove resource policy, is neded for target bus
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewpearce-digital committed Jun 23, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent cb4e7fa commit 354ce72
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions terraform/environment/dynamodb_reduced_fees.tf
Original file line number Diff line number Diff line change
@@ -175,21 +175,10 @@ data "aws_iam_policy_document" "cross_account_put_access" {
resources = [
"arn:aws:events:eu-west-1:288342028542:event-bus/default"
]

# principals {
# type = "AWS"
# identifiers = [data.aws_caller_identity.main.account_id]
# }
}
provider = aws.eu_west_1
}

# resource "aws_cloudwatch_event_bus_policy" "cross_account_put_access" {
# policy = data.aws_iam_policy_document.cross_account_put_access.json
# event_bus_name = aws_cloudwatch_event_bus.reduced_fees.name
# provider = aws.eu_west_1
# }

resource "aws_cloudwatch_event_rule" "cross_account_put" {
name = "cross-account-put"
description = "forward dynamodb stream events to bus in remote account"

0 comments on commit 354ce72

Please sign in to comment.