Files
floci/docs/services
Priamo Germosen b521ee513c feat(eks): store the cluster upgrade policy and update it through UpdateClusterConfig (#9253)
CreateCluster dropped upgradePolicy, DescribeCluster never returned
one, and UpdateClusterConfig refused the member, so Terraform's
aws_eks_cluster with upgrade_policy showed a diff on every plan that
no apply could fix.

CreateCluster now stores upgradePolicy.supportType, EXTENDED when the
request names none, as EKS gives new clusters extended support, and
DescribeCluster returns it. A cluster stored before reports EXTENDED
as well. UpdateClusterConfig takes upgradePolicy as an update type of
its own and answers with a Successful UpgradePolicyUpdate whose
UpgradePolicy parameter holds the policy as JSON, as AWS records it.
A repeated clientRequestToken is matched against it like the other
families, and an unknown support type is refused with
InvalidParameterException.

STANDARD is refused, in AWS's words, for a version past its end of
standard support: on CreateCluster, and on UpdateClusterConfig, which
turns extended support on at any time but off only in standard
support. The end of standard support of each version Floci serves
comes from the Amazon EKS Kubernetes release calendar. A cluster that
named no version counts as in standard support, as the version AWS
gives it is.

AWS::EKS::Cluster creates the cluster with its UpgradePolicy and
updates it in place. A dropped UpgradePolicy returns the cluster to
EXTENDED, a stack rollback restores the policy, and a cluster a stack
created before this gets the policy its template declares on the
stack's next update.

Closes #5640
2026-11-23 08:07:04 -04:00
..