File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 22
33resource "aws_sqs_queue" "id_sync_queue" {
44 name = " ${ local . short_prefix } -id-sync-queue"
5+ kms_master_key_id = aws_kms_alias. id_sync_sqs_encryption . name
56 visibility_timeout_seconds = 60
67 redrive_policy = jsonencode ({
78 deadLetterTargetArn = aws_sqs_queue.id_sync_dlq.arn
Original file line number Diff line number Diff line change @@ -70,13 +70,13 @@ locals {
7070 # MNS id/role: ultimately these should go in infra/environments/<env>/variables.tfvars
7171
7272 mns_account_id = " 631615744739"
73- mns_admin_role = " role"
73+ mns_admin_role = " role/nhs-mns-events-lambda-delivery "
7474
7575 policy_statement_allow_mns = {
7676 Sid = " AllowMNSLambdaDelivery" ,
7777 Effect = " Allow" ,
7878 Principal = {
79- AWS = " arn:aws:iam::${ local . mns_account_id } :${ local . mns_admin_role } /nhs-mns-events-lambda-delivery "
79+ AWS = " arn:aws:iam::${ local . mns_account_id } :${ local . mns_admin_role } "
8080 },
8181 Action = " kms:GenerateDataKey" ,
8282 Resource = " *"
You can’t perform that action at this time.
0 commit comments