-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Use DescribeInstanceTypes API to get EC2 instance type details #4468
Use DescribeInstanceTypes API to get EC2 instance type details #4468
Conversation
|
Welcome @AustinSiu! |
edde39e
to
955eaef
Compare
955eaef
to
0a3e5a6
Compare
/area provider/aws |
@aleksandra-malinowska @feiskyer may I ask when you will be able to review this PR? Thanks! |
|
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.
Requesting a bit of documentation in the gen.go file (see inline comment) but otherwise this approach is excellent and MUCH cleaner than the existing strategy. Well done, @AustinSiu.
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.
Apart from Jay's comment on docs for the permissions, this LGTM! Nice work!
0a3e5a6
to
73459ec
Compare
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.
👍 great work on this @AustinSiu! :)
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: AustinSiu, bwagner5, jaypipes The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
73459ec
to
94d0edf
Compare
/lgtm |
This change addresses #4436 by replacing the existing pricing API call used to resolve instance types with EC2's DescribeInstanceTypes API. It also adds unit tests and updates the readme.