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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南