Skip to content

EKS DescribeClusterVersions status type mismatch #2942

Open
@hjoshi123

Description

Acknowledgements

Describe the bug

When a call to DescribeClusterVersions API is made it returns the following both from the CLI and SDK

 {
            "clusterVersion": "1.28",
            "clusterType": "eks",
            "defaultPlatformVersion": "eks.33",
            "defaultVersion": false,
            "releaseDate": "2023-09-25T18:00:00-06:00",
            "endOfStandardSupportDate": "2024-11-25T17:00:00-07:00",
            "endOfExtendedSupportDate": "2025-11-25T17:00:00-07:00",
            "status": "EXTENDED_SUPPORT",
            "kubernetesPatchVersion": "1.28.15"
        },

However, the enum values in the code refers to different types of values as shown below:

const (
	ClusterVersionStatusUnsupported     ClusterVersionStatus = "unsupported"
	ClusterVersionStatusStandardSupport ClusterVersionStatus = "standard-support"
	ClusterVersionStatusExtendedSupport ClusterVersionStatus = "extended-support"
)

Regression Issue

  • Select this option if this issue appears to be a regression.

Expected Behavior

The enum type values should match the value returned by the API and CLI.

Current Behavior

The enum values are not matching.

Reproduction Steps

aws eks describe-cluster-versions --region us-west-2

Note the status field on the output.

Possible Solution

No response

Additional Information/Context

This is causing the following PR hashicorp/terraform-provider-aws#40741 to break since the status type is of the ClusterVersionStatus.

AWS Go SDK V2 Module Versions Used

github.com/aws/aws-sdk-go-v2/service/eks v1.56.0

Compiler and Version used

go version go1.23.4 darwin/arm64

Operating System and version

MacOS 15.3

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

bugThis issue is a bug.p3This is a minor priority issueservice-apiThis issue is due to a problem in a service API, not the SDK implementation.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions