From 3aef28a431315ae850e2bbbe25a0b8aedd410666 Mon Sep 17 00:00:00 2001 From: Andrew Barba Date: Wed, 13 Dec 2023 21:28:21 -0500 Subject: [PATCH] Fix roles --- index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.ts b/index.ts index 1072ef7..76ae24f 100644 --- a/index.ts +++ b/index.ts @@ -63,7 +63,7 @@ const s3Policy = new aws.iam.Policy('swift-build-s3-write-only', { Effect: 'Allow', Action: ['s3:PutObject'], Resource: [ - 'arn:aws:s3:::prod-swift-cloud-api-stac-artifactsbucket70f686f6-4negqqu8x5bo/*', + 'arn:aws:s3:::prod-infra-api-artifactsbucket70f686f6-ahndteqyzoel', 'arn:aws:s3:::dev-swift-cloud-api-stack-artifactsbucket70f686f6-jlbt8mnklu1n/*' ] } @@ -86,8 +86,8 @@ const sqsPolicy = new aws.iam.Policy('swift-build-sqs-read-delete-send', { Effect: 'Allow', Action: ['sqs:SendMessage'], Resource: [ - 'arn:aws:sqs:us-east-1:172469817718:dev-swift-cloud-BuildQueue.fifo', - 'arn:aws:sqs:us-east-1:172469817718:prod-swift-cloud-BuildQueue.fifo' + 'arn:aws:sqs:us-east-1:172469817718:dev-infra-BuildQueue.fifo', + 'arn:aws:sqs:us-east-1:172469817718:prod-infra-BuildQueue.fifo' ] } ]