File tree Expand file tree Collapse file tree 3 files changed +3
-103
lines changed
infrastructure/terraform/components Expand file tree Collapse file tree 3 files changed +3
-103
lines changed Original file line number Diff line number Diff line change @@ -104,8 +104,8 @@ data "aws_iam_policy_document" "kms" {
104104
105105 condition {
106106 test = " StringEquals"
107- variable = " kms:ViaService "
108- values = [" sqs. ${ var . region } .amazonaws.com " ]
107+ variable = " kms:EncryptionContext:aws:sqs:arn "
108+ values = [" arn:aws: sqs: ${ var . region } : ${ var . aws_account_id } :* " ]
109109 }
110110 }
111111}
Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ data "aws_iam_policy_document" "kms" {
108108 }
109109
110110 statement {
111- sid = " AllowEventBridgeToEncryptSpecificQueue "
111+ sid = " AllowEventBridgeAccessToLetterValidationQueue "
112112 effect = " Allow"
113113
114114 principals {
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments