-
Notifications
You must be signed in to change notification settings - Fork 4.5k
awscdk-kubectl-go: Does not compile with latest cdk - "duplicate method Env" #37405
Copy link
Copy link
Closed
cdklabs/awscdk-asset-kubectl
#2713Labels
aws-cdk-libRelated to the aws-cdk-lib packageRelated to the aws-cdk-lib packagebugThis issue is a bug.This issue is a bug.closing-soonThis issue will automatically close in 4 days unless further comments are made.This issue will automatically close in 4 days unless further comments are made.p0potential-regressionMarking this issue as a potential regression to be checked by team memberMarking this issue as a potential regression to be checked by team memberresponse-requestedWaiting on additional info and feedback. Will move to "closing-soon" in 7 days.Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
Metadata
Metadata
Assignees
Labels
aws-cdk-libRelated to the aws-cdk-lib packageRelated to the aws-cdk-lib packagebugThis issue is a bug.This issue is a bug.closing-soonThis issue will automatically close in 4 days unless further comments are made.This issue will automatically close in 4 days unless further comments are made.p0potential-regressionMarking this issue as a potential regression to be checked by team memberMarking this issue as a potential regression to be checked by team memberresponse-requestedWaiting on additional info and feedback. Will move to "closing-soon" in 7 days.Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
Describe the bug
Hi, it seems kubectl-go needs to be updated to support the latest CDK, could you check?
Related: #36060
Regression Issue
Last Known Working CDK Library Version
v2.223.0
Expected Behavior
Builds fine
Current Behavior
Doesn't build
Reproduction Steps
Se POC above.
Possible Solution
I haven't checked the code in question, but type aliases and/or getting KubectlV3xLayer.go to use interfaces.ResourceEnvironment instead of awscdk.ResourceEnvironment, and renaming/removing the duplicate Env() might be relevant.
Additional Information/Context
No response
AWS CDK Library version (aws-cdk-lib)
v2.245.0
AWS CDK CLI version
N/A
Node.js Version
N/A
OS
Linux
Language
Go
Language Version
1.26.1
Other information
No response