mirror of
https://github.com/Hestia-Homes/survey-extraction.git
synced 2026-06-08 11:17:29 +00:00
walthamforest
This commit is contained in:
parent
04f0708b15
commit
4fb1d9c24a
2 changed files with 4 additions and 4 deletions
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue