From acac5ff5ae3bf7ad457840aa4706926ff4f237d7 Mon Sep 17 00:00:00 2001 From: Xavier Schildwachter Date: Thu, 5 Oct 2023 10:53:56 -0700 Subject: [PATCH] Not needed --- org-formation/600-access/_tasks.yaml | 45 ---------------------------- 1 file changed, 45 deletions(-) diff --git a/org-formation/600-access/_tasks.yaml b/org-formation/600-access/_tasks.yaml index dbf41d6c..699d326b 100644 --- a/org-formation/600-access/_tasks.yaml +++ b/org-formation/600-access/_tasks.yaml @@ -329,48 +329,3 @@ SynapseAthenaUserAccessPolicy: ] } PolicyName: SynapseAthenaUserAccessPolicy - -SnowflakeDatawarehouseAccessRole: - Type: update-stacks - Template: https://raw.githubusercontent.com/Sage-Bionetworks/aws-infra/v0.7.6/templates/IAM/cross-account-access.yaml - StackName: snowflake-datawarehouse-access - DefaultOrganizationBinding: - IncludeMasterAccount: false - Account: !Ref SynapseProdAccount - Region: !Ref primaryRegion - Parameters: - PolicyDocument: !Sub >- - { - "Version": "2012-10-17", - "Statement": [ - { - "Effect": "Allow", - "Action": [ - "s3:GetObject", - "s3:GetObjectVersion" - ], - "Resource": "arn:aws:s3:::prod.datawarehouse.sagebase.org/warehouse/*", - "Principal": "*" - }, - { - "Effect": "Allow", - "Action": [ - "s3:ListBucket", - "s3:GetBucketLocation" - ], - "Resource": "arn:aws:s3:::prod.datawarehouse.sagebase.org", - "Principal": "*" - "Condition": { - "StringLike": { - "s3:prefix": [ - "warehouse" - ] - } - } - } - ] - } - PrincipalArns: - - - -