-
Notifications
You must be signed in to change notification settings - Fork 27
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
Invalid user ID: when cleaning up snapshots #9
Comments
I get the same error. Were you ever able to get this resolved? |
I was able to fix this because I had used the smtp keys instead of creating a root key. Go to IAM and under security status on first screen, there is a list of to dos and one is to create a root key. After doing this, I added that key and secret access key from there to the scripts and then it worked. |
No luck there. I was already using the root key. |
ahhh... Yours is the cleanup... I was having other issues. Noah and Adam are great at helping with this. I would see if they could help. |
I wish I could offer assistance on this front but I haven't encountered this error on my setup :( |
Well, here's what I did. I'd appreciate it if you could confirm this was right or if I missed something. I went to Security Credentials under the name menu, expanded Access Keys, and created a new key. I then pasted the access key, the security key, and the account ID into the script. The backup succeeds, but the retention portion does not. Do I need to alter permissions on that API key somehow? Am I better off creating an actual user and using those credentials? |
Figured it out... I misread your instructions and didn't see to remove the dashes in the User ID in AWSConfig.ps1. D'oh. |
Hi I'm getting an error duing the snapshot cleanup. GetAllSnapshots : Amazon.EC2.AmazonEC2Exception: Invalid user id: "XXX_XXX" ---> Amazon.Runtime.Internal.HttpErrorResponseException: The remote server returned an error: (400) Bad Request. ---> System.Net.WebException: The remote server returned an error: (400) Bad Request.
at System.Net.HttpWebRequest.GetResponse()
then the rest of the script fails.
The snapshotting works just fine its only during the cleanup.
Is anyone experencing this?
I've tried different IAMS accounts, but all permissions are set fine.. really odd. Could someone please help?
The text was updated successfully, but these errors were encountered: