-
Notifications
You must be signed in to change notification settings - Fork 4.5k
(eks-v2-alpha): (Default for defaultCapacityType is wrong in the API docs) #33884
Copy link
Copy link
Closed
Closed
Copy link
Labels
@aws-cdk/aws-eks-v2-alphaRelated to the @aws-cdk/aws-eks-v2-alpha packageRelated to the @aws-cdk/aws-eks-v2-alpha packagebugThis issue is a bug.This issue is a bug.documentationThis is a problem with documentation.This is a problem with documentation.effort/smallSmall work item – less than a day of effortSmall work item – less than a day of effortp2
Description
Describe the issue
The parameter description for Cluster.defaultCapacityType has the default set as NODEGROUP:
defaultCapacityType?🔹
Type: DefaultCapacityType (optional, default: NODEGROUP)
The default capacity type for the cluster.
However the default was changed in commit e03d112 to now be AUTOMODE.
This resulted in failures in CDK post upgrade:
Cannot specify defaultCapacity or defaultCapacityInstance when using Auto Mode. Auto Mode manages compute resources automatically.
Links
https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-eks-v2-alpha.Cluster.html
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
@aws-cdk/aws-eks-v2-alphaRelated to the @aws-cdk/aws-eks-v2-alpha packageRelated to the @aws-cdk/aws-eks-v2-alpha packagebugThis issue is a bug.This issue is a bug.documentationThis is a problem with documentation.This is a problem with documentation.effort/smallSmall work item – less than a day of effortSmall work item – less than a day of effortp2