From 45ba5ecd4161a08a220436bc0d52cce02b483c62 Mon Sep 17 00:00:00 2001 From: Xavier Schildwachter Date: Tue, 19 Nov 2024 17:14:30 -0800 Subject: [PATCH] Fix bucket name, remove obsolete ones (#1289) --- org-formation/650-identity-providers/_tasks.yaml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/org-formation/650-identity-providers/_tasks.yaml b/org-formation/650-identity-providers/_tasks.yaml index d7affac4..f2d3418a 100644 --- a/org-formation/650-identity-providers/_tasks.yaml +++ b/org-formation/650-identity-providers/_tasks.yaml @@ -898,9 +898,7 @@ SynapseMonorepoBucketAccessPolicy: "Effect": "Allow", "Action": [ "s3:GetBucketLocation", "s3:ListBucket", "s3:ListBucketMultipartUploads" ], "Resource": [ - "arn:aws:s3:::prod.accounts.sagebionetworks.org", - "arn:aws:s3:::staging.accounts.sagebionetworks.org", - "arn:aws:s3:::dev.accounts.sagebionetworks.org", + "arn:aws:s3:::dev.accounts.synapse.org", "arn:aws:s3:::prod.accounts.synapse.org", "arn:aws:s3:::staging.accounts.synapse.org", "arn:aws:s3:::prod-adknowledgeportalsynapse-org-websitebucket-1wcys549ufmd", @@ -951,9 +949,7 @@ SynapseMonorepoFileAccessPolicy: "Effect": "Allow", "Action": [ "s3:PutObject", "s3:GetObject", "s3:DeleteObject", "s3:*Multipart*" ], "Resource": [ - "arn:aws:s3:::prod.accounts.sagebionetworks.org/*", - "arn:aws:s3:::staging.accounts.sagebionetworks.org/*", - "arn:aws:s3:::dev.accounts.sagebionetworks.org/*", + "arn:aws:s3:::dev.accounts.synapse.org/*", "arn:aws:s3:::prod.accounts.synapse.org/*", "arn:aws:s3:::staging.accounts.synapse.org/*", "arn:aws:s3:::prod-adknowledgeportalsynapse-org-websitebucket-1wcys549ufmd/*", @@ -1021,8 +1017,6 @@ SynapseMonorepoCloudfrontAccessPolicy: "arn:aws:cloudfront::797640923903:distribution/E10U4765KQQW5P", "arn:aws:cloudfront::797640923903:distribution/E1FILQHG8BTWIL", "arn:aws:cloudfront::797640923903:distribution/E14P60CJ0I6G7Y", - "arn:aws:cloudfront::797640923903:distribution/E2656IE63W1MXI", - "arn:aws:cloudfront::797640923903:distribution/EY52HOUGKDP1F", "arn:aws:cloudfront::797640923903:distribution/E14F656YEGR4P3", "arn:aws:cloudfront::797640923903:distribution/E1CB47ERU70VWV", "arn:aws:cloudfront::797640923903:distribution/E2K9BYXQN2MM76",