(aws-eks) Proxy settings in kubectlEnvironment should be passed onto provider-framework Lambda #12608
Labels
@aws-cdk/aws-eks
Related to Amazon Elastic Kubernetes Service
bug
This issue is a bug.
closed-for-staleness
This issue was automatically closed because it hadn't received any attention in a while.
effort/small
Small work item – less than a day of effort
p1
The Issue (Bug)
Since #10200, for VPC that:
All kubectl applies are failing, even with proper proxy set in kubectlEnvironment.
framework.onEvent lambda function -- involves --> kubectl lambda function
Since CDK 1.80, framework.onEvent lambda function has been put into VPC: https://github.com/aws/aws-cdk/blob/v1.80.0/packages/@aws-cdk/custom-resources/lib/provider-framework/provider.ts#L179
and the proxy environments are not added. framework.onEvent lambda function can no longer makes call to Lambda API to invoke function.
Environment
Other information
Proposals:
A: Take framework.onEvent lambda function out of VPC (same as 1.79), and only leaves kubectl function inside the VPC.
B: Add proxy (set in kubectlEnvironment) to framework.onEvent lambda function
The text was updated successfully, but these errors were encountered: