Skip to content

Commit cf5ba5b

Browse files
committed
added notes
1 parent 37c01b6 commit cf5ba5b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

terraform/id_sync_lambda.tf

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,9 @@ resource "aws_iam_policy" "id_sync_lambda_exec_policy" {
184184

185185
# Notes:
186186
# - the SQS queue is defined in terraform/sqs_id_sync.tf in branch VED-80-id-sync-sqs
187-
# - the KMS key in terraform/temp_id_sync_sqs_kms.tf in the same branch; this will eventually be replaced by
188-
# the version of infra/kms.tf in branch VED-80-id-sync-sqs-infra
187+
# - the KMS key in terraform/temp_id_sync_sqs_kms.tf; this will eventually be replaced by
188+
# the version of infra/kms.tf in branch VED-80-id-sync-sqs-infra
189+
# - aws_kms_key.existing_id_sync_sqs_encryption_key defined in terraform/variables.tf
189190

190191
{
191192
Effect = "Allow",
@@ -202,7 +203,7 @@ resource "aws_iam_policy" "id_sync_lambda_exec_policy" {
202203
"kms:Decrypt",
203204
"kms:GenerateDataKey"
204205
],
205-
Resource = data.aws_kms_key.existing_id_sync_encryption_key.arn
206+
Resource = data.aws_kms_key.existing_id_sync_sqs_encryption_key.arn
206207
}
207208
]
208209
})

0 commit comments

Comments
 (0)