Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

restore_object_role is missing s3:GetObjectTagging and s3:PutObjectTagging required for S3 CopyObject #530

Open
paulpilone opened this issue Sep 11, 2024 · 0 comments

Comments

@paulpilone
Copy link
Contributor

paulpilone commented Sep 11, 2024

When testing v10.0.0-beta I was able to reproduce an S3 AccessDenied error during the copy_to_archive task. It appears that in this commit 9693fe7 modified the restore_object_role policy and removed the wildcard from s3:GetObject and s3:PutObject actions. In order for the CopyObject command to work the s3:GetObjectTagging and s3:PutObjectTagging are needed on the source and destination buckets and must be explicitly added.

It's possible that only the Get is required on the source bucket and Put on the destination buckets; however, I'm not familiar enough with the role's use cases to make that decision.

Note: this was found during testing against v10.0.0-beta and Cumulus v19.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant