Skip to content
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 fetching EKS AMI release archive #112

Merged
merged 1 commit into from
Jan 24, 2022
Merged

Fix fetching EKS AMI release archive #112

merged 1 commit into from
Jan 24, 2022

Conversation

cPu1
Copy link
Contributor

@cPu1 cPu1 commented Jan 24, 2022

This changelist fixes fetching the EKS AMI release archive by removing the check for adding a v prefix if it does not exist.

The last release published a tag that begins with an uppercase V and the code ends up prepending an additional v, rendering the URL incorrect. Rather than accounting for this case in code, this changelist removes that check altogether as amazon-eks-ami has been consistently adding the v prefix to their tags.

Fixes #111

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

This changelist fixes fetching the EKS AMI release archive by removing the check for adding a `v` prefix if it does not exist.

The last release published a [tag](https://github.com/awslabs/amazon-eks-ami/releases/tag/V20220123) that begins with an uppercase `V` and the code ends up prepending an additional `v`, rendering the URL incorrect. Rather than accounting for this case in code, this changelist removes that check altogether as `amazon-eks-ami` has been consistently adding the `v` prefix to their tags.
@cPu1 cPu1 requested a review from a team as a code owner January 24, 2022 13:38
Copy link
Contributor

@bwagner5 bwagner5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Latest EKS AMI tag breaks querying EKS instance types
2 participants