Skip to content

Commit 73ba9c0

Browse files
committed
cleanup
1 parent c03e28b commit 73ba9c0

File tree

3 files changed

+3
-103
lines changed

3 files changed

+3
-103
lines changed

infrastructure/terraform/components/acct/module_sandbox_kms.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
}

infrastructure/terraform/components/app/module_kms.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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 {

run-e2e.sh

Lines changed: 0 additions & 100 deletions
This file was deleted.

0 commit comments

Comments
 (0)