-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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: Default to cluster version for EKS and self managed node groups when a cluster_version
is not specified
#1963
fix: Default to cluster version for EKS and self managed node groups when a cluster_version
is not specified
#1963
Conversation
…when a `cluster_version` is not specified
### [18.14.1](v18.14.0...v18.14.1) (2022-03-24) ### Bug Fixes * Default to cluster version for EKS and self managed node groups when a `cluster_version` is not specified ([#1963](#1963)) ([fd3a3e9](fd3a3e9))
This PR is included in version 18.14.1 🎉 |
@@ -27,6 +27,11 @@ output "cluster_oidc_issuer_url" { | |||
value = try(aws_eks_cluster.this[0].identity[0].oidc[0].issuer, "") | |||
} | |||
|
|||
output "cluster_version" { |
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.
nice!
…when a `cluster_version` is not specified (terraform-aws-modules#1963)
### [18.14.1](terraform-aws-modules/terraform-aws-eks@v18.14.0...v18.14.1) (2022-03-24) ### Bug Fixes * Default to cluster version for EKS and self managed node groups when a `cluster_version` is not specified ([terraform-aws-modules#1963](terraform-aws-modules#1963)) ([fd3a3e9](terraform-aws-modules@fd3a3e9))
…when a `cluster_version` is not specified (terraform-aws-modules#1963)
### [18.14.1](terraform-aws-modules/terraform-aws-eks@v18.14.0...v18.14.1) (2022-03-24) ### Bug Fixes * Default to cluster version for EKS and self managed node groups when a `cluster_version` is not specified ([terraform-aws-modules#1963](terraform-aws-modules#1963)) ([fd3a3e9](terraform-aws-modules@fd3a3e9))
### [18.14.1](terraform-aws-modules/terraform-aws-eks@v18.14.0...v18.14.1) (2022-03-24) ### Bug Fixes * Default to cluster version for EKS and self managed node groups when a `cluster_version` is not specified ([#1963](terraform-aws-modules/terraform-aws-eks#1963)) ([fac563c](terraform-aws-modules/terraform-aws-eks@fac563c))
I'm going to lock this pull request 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 related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Description
cluster_version
is not specifiedcluster_version
output for users to use when using separate node group sub-modules (see updatedcomplete
example)Motivation and Context
cluster_version = null
#1959version
on the EKS cluster resource is optional and will default to the latest Kubernetes version supported by EKS. However, if a version is not specified in the root module viavar.cluster_version
, then a version is not propagated to the sub-modules which can result in an error. By changing from thevar.cluster_version
to the EKS cluster resource output ofversion
and using that as the default, we are able to achieve the same functionality when users do not specify avar.cluster_version
Breaking Changes
How Has This Been Tested?
examples/*
projectscomplete
example and verified functionality