-
Notifications
You must be signed in to change notification settings - Fork 23.7k
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
Fix ec2_instance eventual consistency when wait: false #51885
Fix ec2_instance eventual consistency when wait: false #51885
Conversation
cc @willthames |
The code looks good, I haven't yet run the test suite though. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Haven't had run the test either - but so far I can't reproduce the issue with this patch in.
It was flaky, so I'll update/feel a new ticket if I see it spawning, but as per the content of this PR I don't see how it can happen.
Thanks @Shaps !
shipit |
I'm still wrestling with the test suite (there seem to be a lot of issues accumulated with the testing-policies, not blaming this individual change), I think I'm nearly there - I'll ship once this passes tests. Thanks for confirming it fixes your issue though, that's definitely a great start! |
* Additional permissions * Enforce boto3 version * Fix broken tests * Improve error messages
The test
The test
|
@willthames happy to fix the 2 linter issues, just let me know if you want both the
|
@Shaps prefer both I think |
SUMMARY
As very well described in #51662, when
wait: false
is specified, the module may fail because the instance ids are not yet propagated.Fixes #51662
ISSUE TYPE
COMPONENT NAME
ec2_instance
ADDITIONAL INFORMATION
N/A