Fix AWS S3 AccessDeniedError for ListObjectsV2
You were attempting to run
aws sync and you ran into an Access Denied Error for ListObjectsV2.
So you tried to add the
ListObjectsV2 permission, but you couldn’t find it.
The plot twist? The action goes by a different name:
That’s the action you need to add to your policy.
That’s it, happy developing!