DataSync location access test failed: could not perform S3:ListObjectsV2 #31259
Unanswered
matt-challe
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to create an S3 location for a DataSync Task and consistently running into the above error despite following AWS best practices . Note, S3:ListBucket is already given as a permission.
The error only occurs on "fresh" deploys where the stack is not already previously deployed successfully. My current workaround is to deploy granting the role S3 full access and then redeploy with the below policy. Below is the relevant portion of the python cdk code I am using.
Is this an AWS DataSync problem? Or a cdk bug?
Beta Was this translation helpful? Give feedback.
All reactions