walthamforest

This commit is contained in:
Jun-te Kim 2025-09-11 15:07:14 +00:00
parent 04f0708b15
commit 4fb1d9c24a
2 changed files with 4 additions and 4 deletions

View file

@ -32,7 +32,7 @@ resource "aws_iam_policy" "extractor_loader_policy" {
"sqs:GetQueueUrl",
"sqs:ChangeMessageVisibility"
],
Resource = aws_sqs_queue.lambda_example_queue.arn
Resource = aws_sqs_queue.extractor_and_loader_queue.arn
},
{
Effect = "Allow",
@ -41,7 +41,7 @@ resource "aws_iam_policy" "extractor_loader_policy" {
"ecr:BatchGetImage",
"ecr:BatchCheckLayerAvailability"
],
Resource = data.aws_ecr_repository.lambda_example.arn
Resource = data.aws_ecr_repository.extractor_and_loader.arn
},
{
Effect = "Allow",

View file

@ -31,7 +31,7 @@ resource "aws_iam_policy" "walthamforest_etl_adhoc_policy" {
"sqs:GetQueueUrl",
"sqs:ChangeMessageVisibility"
],
Resource = aws_sqs_queue.lambda_example_queue.arn
Resource = aws_sqs_queue.walthamforest_etl_adhoc_queue.arn
},
{
Effect = "Allow",
@ -40,7 +40,7 @@ resource "aws_iam_policy" "walthamforest_etl_adhoc_policy" {
"ecr:BatchGetImage",
"ecr:BatchCheckLayerAvailability"
],
Resource = data.aws_ecr_repository.lambda_example.arn
Resource = data.aws_ecr_repository.walthamforest_etl_adhoc_ecr.arn
},
{
Effect = "Allow",