S3 External Account ACL Disappears

0

My company has two AWS accounts and syncs files periodically between S3 buckets in the different accounts. We do this by having an ACL entry on the bucket with a grantee of the external account canonical ID of the other account. This works fine initially, but when I try to sync files again (via AWS cli) a few weeks later, this ACL entry has disappeared and files can't be synced. This has happened several times now, over the past year or so. How can I find out what's causing the ACL entry to disappear and prevent that from happening?

demandé il y a 2 ans300 vues
1 réponse
0

You should check if the bucket ACL has been disabled or not. S3 recently launched ACL disabling bucket. Buckets created earlier than that can be changed to ACL disabled by bucket admin. If that's the case, you will have to use bucket policy to get access files in S3.

AWS
V
répondu il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions