-
Notifications
You must be signed in to change notification settings - Fork 23.8k
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
croc cloud - ec2 key patch #60929
croc cloud - ec2 key patch #60929
Conversation
This patch fixes "IndexError: list index out of range" error for https://console.cloud.croc.ru. When key pair is new, croc return dict with an empty list for key KeyPairs that causes ansible to crush.
@Maunty, just so you are aware we have a dedicated Working Group for aws. |
A little bit more information. Croc is an aws e2c api compatible cloud(almost compatible :) ). So by changing endpoint it is possible to use aws modules with it. But sometimes it needs a little help like in this case. |
I don't have access to Croc to test this, but the change looks small, noninvasive and doesn't appear to break things for AWS so: LGTM |
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.
I agree, thanks very much for this patch @Maunty!
rebuild_merge
SUMMARY
This patch fixes "IndexError: list index out of range" error for https://console.cloud.croc.ru.
When key pair is new, croc return dict with an empty list for key KeyPairs that causes ansible to crush.
ISSUE TYPE
COMPONENT NAME
ec2_key
ADDITIONAL INFORMATION