-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Check IAM permissions beforehand. Let non-essential actions fail due to lack of permissions #8
Comments
For reference, at the time of writing the minimum policies I needed to run through buckup without error were (in order of buckup needing them):
(If there are any errors due to lacking policies after ListAccountAliases the bucket name will be created but can't be used again on another run of buckup.) |
The following policy seems to make it work. We probably need to document some better setup with restricting by bucket name, user name, etc.
|
Note: Tom suggests that we can try to check policies with https://docs.aws.amazon.com/IAM/latest/APIReference/API_SimulatePrincipalPolicy.html. That's probably a nice feature to have before stable release. |
This would be a very nice addition, especially since if you don’t set up the IAM permissions the bucket creation will succeed, meaning you have to go in the AWS console / use the AWS CLI to clean up after yourself before being able to use buckup again (which somewhat defeats the point of using buckup). |
No description provided.
The text was updated successfully, but these errors were encountered: