Skip to content

Commit

Permalink
Update data call for iam policy
Browse files Browse the repository at this point in the history
  • Loading branch information
gillettmoj committed Dec 2, 2024
1 parent a3b15bc commit cd08d39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terraform/account/region/lambda_functions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ data "aws_iam_policy_document" "ingestion_lambda_function_policy" {
statement {
sid = "AllowSQSAccess"
effect = "Allow"
resources = [aws_sqs_queue.ship_to_opg_metrics[0].arn]
resources = [aws_sqs_queue.env.arn]
actions = [
"sqs:SendMessage",
"sqs:ReceiveMessage",
Expand Down

0 comments on commit cd08d39

Please sign in to comment.