Skip to content

Commit

Permalink
Merge pull request #1026 from marcomarasca/PLFM-8005
Browse files Browse the repository at this point in the history
PLFM-8005: Allows snowflake to access synapse bucket inventory
  • Loading branch information
xschildw authored Nov 15, 2023
2 parents 864b04b + 885f023 commit 868dd2e
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion sceptre/synapseprod/templates/snowflake-access.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ Resources:
"s3:GetObject",
"s3:GetObjectVersion"
],
"Resource": "arn:aws:s3:::prod.datawarehouse.sagebase.org/warehouse/*"
"Resource": [
"arn:aws:s3:::prod.datawarehouse.sagebase.org/warehouse/*",
"arn:aws:s3:::prod.inventory.sagebase.org/inventory/proddata.sagebase.org/defaultInventory/*"
]
},
{
"Effect": "Allow",
Expand All @@ -35,6 +38,19 @@ Resources:
"s3:prefix": [ "warehouse/*" ]
}
}
},
{
"Effect": "Allow",
"Action": [
"s3:ListBucket",
"s3:GetBucketLocation"
],
"Resource": "arn:aws:s3:::prod.inventory.sagebase.org",
"Condition": {
"StringLike": {
"s3:prefix": [ "inventory/proddata.sagebase.org/defaultInventory/*" ]
}
}
}
]
}
Expand Down

0 comments on commit 868dd2e

Please sign in to comment.