File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff 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 })
You can’t perform that action at this time.
0 commit comments