Skip to content

eks: ProxyAgent is not a constructor #26771

@trondhindenes

Description

@trondhindenes

Describe the bug

The newest cdk library (2.92.0) produces this error. Downgrading to 2.90.0 solves it. We create clusters where we specify the kubectl_layer parameter.

Expected Behavior

it shouldn't fail

Current Behavior

I'm getting this error:

11:02:05 AM | CREATE_FAILED        | Custom::AWSCDK-EKS-Cluster            | clusterC5B25D0D
Received response status [FAILED] from custom resource. Message returned: ProxyAgent is not a constructor

Reproduction Steps

See descr

Possible Solution

No response

Additional Information/Context

No response

CDK CLI Version

2.89.0

Framework Version

2.92.0

Node.js Version

v18.17.0

OS

Ubuntu

Language

Python

Language Version

Python 3.8

Other information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    @aws-cdk/aws-eksRelated to Amazon Elastic Kubernetes ServicebugThis issue is a bug.p0response-requestedWaiting on additional info and feedback. Will move to "closing-soon" in 7 days.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions