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

add datasource for aws eks describe-addon-versions #1908

Closed
awoimbee opened this issue Mar 1, 2022 · 5 comments · Fixed by #2250
Closed

add datasource for aws eks describe-addon-versions #1908

awoimbee opened this issue Mar 1, 2022 · 5 comments · Fixed by #2250
Milestone

Comments

@awoimbee
Copy link

awoimbee commented Mar 1, 2022

Relates to: #1385 (comment)

Is your request related to a problem? Please describe.

I manage kubernetes clusters, some deployments like kube-proxy are (strangely) not managed by EKS by default.
Like, come on ! I got informed of the issue by AlertManager !

Turns out Terraform has aws_eks_addon, but I need to give this resource addon_version, which I don't want to do, I just want the addon version to match the kubernetes version.

Describe the solution you'd like.

A datasource called something like aws_describe_addon_versions so I don't have to call the aws cli (aws eks describe-addon-versions --addon-name kube-proxy --query 'addons[*].addonVersions[0].addonVersion').
And / or I would like the ability to set addon_version = "latest" in aws_eks_addon.

Describe alternatives you've considered.

Call the aws cli (aws eks describe-addon-versions --addon-name kube-proxy --query 'addons[*].addonVersions[0].addonVersion')

EDIT: I'm so sorry, I didn't see I was on terraform-aws-modules/terraform-aws-eks and not hashicorp/terraform-provider-aws, I guess this issue is still relevant to this project, but feel free to close.

@bryantbiggs
Copy link
Member

Requires upstream provider support hashicorp/terraform-provider-aws#20725

@github-actions
Copy link

github-actions bot commented Apr 1, 2022

This issue has been automatically marked as stale because it has been open 30 days
with no activity. Remove stale label or comment or this issue will be closed in 10 days

@bryantbiggs
Copy link
Member

This is a breaking change due to requiring the v4.x of the AWS provider and is scheduled for the v19.x release https://github.com/terraform-aws-modules/terraform-aws-eks/compare/master...bryantbiggs:refactor/incorporate-autoscaling-module?expand=1

@antonbabenko
Copy link
Member

This issue has been resolved in version 19.0.0 🎉

@github-actions
Copy link

github-actions bot commented Jan 5, 2023

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.