-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
EC2 object has no attribute KeyPairInfo #3472
Comments
Hi @utkonos, thanks for reaching out. I was able to reproduce the same behavior and can confirm that it's inconsistent with what the documentation says. I reached out to the EC2 team for further investigation and confirm such behavior. I will post an update here once I hear back from the team. Best, |
I think the section for This line of code in the key_pair = ec2.KeyPair('name') However, this returns a |
Thanks for providing additional inputs. I requested the team to look into both sections and they will hopefully clear up any confusion. Again I will make sure to post an update once I hear back and thank you for being patient with us! |
Hi @utkonos - I appreciate your patience while we look into this. I have created a backlog item internally for boto3 team to further investigate. While I wasn't given any timeframe as to when to expect an update, I'll let you know when I receive any updates from them. P74602266 |
Describe the issue
The documentation for
boto3
has a section forKeyPairInfo
. If you run the example code, it raises an exeption.Exception:
Looking at old issues: here is one that mentions this documentation problem and that someone was looking into fixing it. However, that issue was closed automatically after a period of time.
#1945 (comment)
Links
https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/ec2.html#keypairinfo
The text was updated successfully, but these errors were encountered: