-
Notifications
You must be signed in to change notification settings - Fork 610
✨ Migrate ec2 to AWS SDK V2 #5521
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
base: main
Are you sure you want to change the base?
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Welcome @yiannistri! |
Hi @yiannistri. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
52a7c2f
to
543a41c
Compare
/ok-to-test |
17c1c53
to
2e0229a
Compare
2e0229a
to
aa39537
Compare
a5d2bd5
to
aa39537
Compare
1.Since ssm interface provided earlier is removed , new is now at pkg/cloud/services/ssm/service.go 2.Modified client code for ssm client pkg/cloud/scope/clients.go 3.In the ec2 package updated references of aws-sdk-go/ssm to point to aws-sdk-go-v2/ssm 4.Types provided by aws-sdk-go-v2/ssm/types pacakage those , references in launchtemplate_test for ec2 package is updated as well *The launchtemplate_test.go failures are ignored for now , believe the update done by - kubernetes-sigs#5521 will fix it*
0ece196
to
9704c3a
Compare
Hey @yiannistri would you be able to rebase? Thanks! |
9704c3a
to
9711485
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.
Thank you for taking on this piece in particular, it's a big one!
metadataOptions.InstanceMetadataTags = infrav1.InstanceMetadataState(*v.MetadataOptions.InstanceMetadataTags) | ||
} | ||
metadataOptions.HTTPEndpoint = infrav1.InstanceMetadataState(string(v.MetadataOptions.HttpEndpoint)) | ||
metadataOptions.HTTPPutResponseHopLimit = int64(*v.MetadataOptions.HttpPutResponseHopLimit) |
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.
This one would still need a nil check since it's de-referencing a pointer.
9711485
to
4f9ce70
Compare
/retest |
@yiannistri: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
PR needs rebase. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
What type of PR is this?
/kind feature
/kind cleanup
What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #5403, #5411
Special notes for your reviewer:
Checklist:
Release note: