You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current version of the module doesn't support cross-account replication because of missing one permission. Based on AWS documentation when both S3 buckets belongs to different AWS accounts you need to add s3:ObjectOwnerOverrideToBucketOwner. Until applying this permission AWS will not be able to replicate objects between accounts.
Adding additonal complexity for enabling this option only when destination bucket is in different account will give zero value. This is because that permission doesn't change anything if it is enabled inside single account.
The text was updated successfully, but these errors were encountered:
Describe the Bug
Current version of the module doesn't support cross-account replication because of missing one permission. Based on AWS documentation when both S3 buckets belongs to different AWS accounts you need to add
s3:ObjectOwnerOverrideToBucketOwner
. Until applying this permission AWS will not be able to replicate objects between accounts.Expected Behavior
Instead of creating policy statement:
Module should create below statement inside replication policy:
Steps to Reproduce
Steps to reproduce the behavior:
s3:ObjectOwnerOverrideToBucketOwner
permissionAdditional Context
Fix should be applied even if replication is set for S3 buckets inside single account. Like in the example below based on module code:
Adding additonal complexity for enabling this option only when destination bucket is in different account will give zero value. This is because that permission doesn't change anything if it is enabled inside single account.
The text was updated successfully, but these errors were encountered: