S3Sync: Source bucket: prod_bucket_A to Destination bucket: prod_bucket_B failed fatal error:S3SYNC An error occurred (AccessDenied) when calling the ListObjectsV2 operation: Access Denied
When trying to synchronize two buckets in CPM I get the following error message.
S3Sync: Source bucket: Prod_bucket to Destination bucket: Dev_bucket failed fatal error: S3SYNC An error occurred (AccessDenied) when calling the ListObjectsV2 operation: Access Denied
This error is caused by an issue with the S3:ListBuckets permission. You should update the role/user permissions using the latest CPM JSON Permisison files located at this link.
CPM 4.1 json permission files
How to update the role
This AWS Article explains the error and how to correct the permissions on the bucket.