Skip to content

Commit

Permalink
Merge pull request #1566 from ministryofjustice/MLPAB-2567-sqs-kms-ac…
Browse files Browse the repository at this point in the history
…cess

MLPAB-2567 Allow lambda to use sqs key
hawx authored Oct 22, 2024
2 parents 9fbac76 + 5538312 commit 87b50fe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion terraform/account/kms_key_sqs.tf
Original file line number Diff line number Diff line change
@@ -61,7 +61,7 @@ data "aws_iam_policy_document" "sqs_kms" {
type = "Service"
identifiers = [
"sqs.amazonaws.com",
"events.amazonaws.com"
"events.amazonaws.com",
]
}
}
@@ -136,6 +136,7 @@ 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-*",
]
}
}

0 comments on commit 87b50fe

Please sign in to comment.