Skip to content

Fix EKS cluster version: pass to child modules, align to 1.32#57

Merged
sdpoueme merged 2 commits intoaws-solutions-library-samples:mainfrom
jpvelasco:fix/eks-cluster-version
Mar 31, 2026
Merged

Fix EKS cluster version: pass to child modules, align to 1.32#57
sdpoueme merged 2 commits intoaws-solutions-library-samples:mainfrom
jpvelasco:fix/eks-cluster-version

Conversation

@jpvelasco
Copy link
Copy Markdown
Contributor

@jpvelasco jpvelasco commented Mar 31, 2026

Fixes #56

Summary

  • Variable passthrough: Add cluster_version = var.cluster_version to both module blocks in terraform/cluster/main.tf. Previously the variable was never passed, so child modules silently used their own default (1.28).
  • Align defaults: Update child module default from "1.28" to "1.32" to match the root module.
  • CloudFormation: Update KubernetesVersion parameter default to "1.32".
  • kubectl: Update buildspec kubectl download from 1.28 to 1.32.
  • README: Update VERSION example to "1.32".

Files Changed

File Change
terraform/cluster/main.tf Pass cluster_version to both module blocks
terraform/cluster/modules/cluster/variables.tf Default 1.28 to 1.32
terraform/cloudformation/main.yaml Default 1.28 to 1.32
terraform/cloudformation/buildspec.yml kubectl URL 1.28 to 1.32
README.md VERSION example 1.28 to 1.32

Test plan

  • terraform validate passes
  • Full deploy with EKS 1.32 clusters

JP Velasco and others added 2 commits March 30, 2026 17:59
The root module's cluster_version variable was never passed to the
child module blocks, so both clusters silently used the child module's
own default of 1.28. Add cluster_version to both module calls, update
the child default to 1.32, and align CloudFormation, buildspec kubectl,
and README to match.
@sdpoueme sdpoueme requested review from sdpoueme March 31, 2026 20:33
@sdpoueme sdpoueme self-assigned this Mar 31, 2026
@sdpoueme sdpoueme closed this Mar 31, 2026
@sdpoueme sdpoueme reopened this Mar 31, 2026
Copy link
Copy Markdown
Contributor

@sdpoueme sdpoueme left a comment

Choose a reason for hiding this comment

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

Looks good. Safe and recommended best practices to upgrade the kubectl and eks versions.

@sdpoueme sdpoueme merged commit d95f519 into aws-solutions-library-samples:main Mar 31, 2026
1 check passed
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.

EKS cluster version defaults to 1.28 despite 1.32 upgrade

2 participants