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?

질문됨 2년 전304회 조회
1개 답변
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
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠