Skip to content

Commit

Permalink
restore iam
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewpearce-digital committed Dec 4, 2024
1 parent 0f01b30 commit 4eeb0db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terraform/account/kms_key_event_received_sqs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ data "aws_iam_policy_document" "event_received_sqs_kms" {
principals {
type = "AWS"
identifiers = [
"events.amazonaws.com",
local.account.account_name == "development" ? "arn:aws:iam::${data.aws_caller_identity.global.account_id}:root" : "arn:aws:iam::${data.aws_caller_identity.global.account_id}:role/event-received-${local.account.account_name}",
]
}
}
Expand Down

0 comments on commit 4eeb0db

Please sign in to comment.