Skip to content

Commit

Permalink
Merge pull request #1567 from ministryofjustice/revert-1566-MLPAB-256…
Browse files Browse the repository at this point in the history
…7-sqs-kms-access

Revert "MLPAB-2567 Allow lambda to use sqs key"
  • Loading branch information
hawx authored Oct 22, 2024
2 parents 9c1365e + 8cf2fde commit eda3104
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions terraform/account/kms_key_sqs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ data "aws_iam_policy_document" "sqs_kms" {
type = "Service"
identifiers = [
"sqs.amazonaws.com",
"events.amazonaws.com",
"events.amazonaws.com"
]
}
}
Expand Down Expand Up @@ -136,7 +136,6 @@ data "aws_iam_policy_document" "sqs_kms" {
type = "AWS"
identifiers = [
"arn:aws:iam::${data.aws_caller_identity.global.account_id}:role/breakglass",
"arn:aws:iam::${data.aws_caller_identity.global.account_id}:role/event-received-*",
]
}
}
Expand Down

0 comments on commit eda3104

Please sign in to comment.