Hi, every time I try to sync, it just freezes after a few files. Logs contain this message:
2018-02-13 14:29:36,318 [S3] [5] ERROR - Failed to get list of CloudFront distributions
System.Exception
User: arn:aws:iam::546950514302:user/trvsvr05 is not authorized to perform: cloudfront:ListDistributions
It seems like your IAM user doesn't have enough permissions to access your CloudFront distributions.
Please grant permissions more for your IAM user by performing these steps:
1) Open the AWS Console and go to IAM https://console.aws.amazon.com/iam/
2) Go to Users, choose your User
3) Press "Add permissions" and select "Create a new policy"
4) Enter some name, some policy description and the following as policy document:
Has this been fixed yet or is there a workaround? We have users that only use CB to sync S3 bucket so that is what their IAM policy allows. They constantly trigger security alerts for unauthorized access.
- Thanks for the response Julia! We have a number of users in our environment that use the Cloudberry tool, so any help on fixing would be great appreciated. In the meantime - is there anything on the client we could try and configure as a workaround to prevent it from trying to list CloudFront Distributions?
The only thing you can do is adjust IAM policy to allow listing CloudFront distributions. Please find the instructions above on this thread. Please let me know if it works for you.