From ba84c68fc398dc83c552b52da0ca34ed3b742d55 Mon Sep 17 00:00:00 2001 From: Andrew Barba Date: Wed, 13 Dec 2023 22:39:12 -0500 Subject: [PATCH] Fix permissions --- index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.ts b/index.ts index 9ad3af2..50a1a6c 100644 --- a/index.ts +++ b/index.ts @@ -62,7 +62,7 @@ const s3Policy = new aws.iam.Policy('swift-build-s3-write-only', { { Effect: 'Allow', Action: ['s3:PutObject'], - Resource: ['arn:aws:s3:::prod-infra-api-artifactsbucket70f686f6-ahndteqyzoel'] + Resource: ['arn:aws:s3:::prod-infra-api-artifactsbucket70f686f6-ahndteqyzoel/*'] } ] }