aws / amazon-genomics-cli

https://aws.github.io/amazon-genomics-cli/
Apache License 2.0
147 stars 82 forks source link

fix: grant GetObject permissions in AgcPermissionStack user policy #600

Open patmagee opened 1 year ago

patmagee commented 1 year ago

Description of Changes

Added GetObject and GetObjectVersion' permissions on the agc project bucket to be granted as part of theAgcPermissionStack. This permissions was omitted in theuserpolicy` despite being able to perform most other operations including delete destructive ones.

Description of how you validated changes

I ran the CDK locally and validated that the user assigned the policy: AgcPermissionStack-agcuserpolicy* was able to read objects from the s3 bucket directly.

Checklist


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license