cli: Getting "unsupported resource type Custom:AWSCDK-EKS-Cluster" #33274
Labels
bug
This issue is a bug.
effort/small
Small work item – less than a day of effort
p3
package/tools
Related to AWS CDK Tools or CLI
Describe the bug
I'm running the AWS CDK CLI
And I'm trying to import an already existing EKS Cluster:
Here's how the resource is defined in AWS CDK using Java:
Here's what I see in the logs:
Notice the line that says
EksPrivateCluster/eks/Resource/Resource/Default: unsupported resource type Custom::AWSCDK-EKS-Cluster, skipping import.
, and also the bottom line:No resources selected for import.
. Are EKS Clusters simply not supported for import yet or is this a bug?´Regression Issue
Last Known Working CDK Version
No response
Expected Behavior
I expected to be able to import my EKS cluster into CloudFormation.
Current Behavior
Cluster is not imported.
Reproduction Steps
PrivateClusterCdkApp:
EksPrivateClusterStack:
Run import with:
cdk import EksPrivateCluster
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.177.0
Framework Version
No response
Node.js Version
v22.2.0
OS
Sonoma 14.5
Language
Java
Language Version
openjdk 17.0.12
Other information
No response
The text was updated successfully, but these errors were encountered: