-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Boto credentials might cause tests to fail #1485
Comments
I encountered this as well. I'm not sure what, if anything, should be done about it, but I'll add my voice as someone who was confused by this unexpected behavior. |
This should be fixed with #1952, but let me know if there are still issues |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I came across a behavior today that I am not sure if it's expected or can be solved in some way. I was running locally the tests and there was one failing (test_amis.test_ami_filter_wildcard/1/). The problem was that when creating the image it was created under the wrong owner. This was because I had forgotten I had some default profile credentials in ~/.aws/credentials so boto was using them and
context.get_current_user()
in create_image backend was returning my real AWS key and secret as the user. After removing the credentials from ~/.aws/credentials the test passed. Also changing the describe_images with Owners=['self'] made the test pass but I am not sure if we want for boto to use the real credentials either in ENV vars or shared-credentials files. What do you guys think?/1/
The text was updated successfully, but these errors were encountered: