-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
batch: aws-cdk-go: case-insensitive file name collision with CfnJobDefinition_EFSVolumeConfigurationProperty.go #32743
Comments
Facing the same issue here: https://github.com/awslabs/generative-ai-cdk-constructs/actions/runs/12635568484/job/35206496533 |
Looks like in CDK documentation as well, we have definition for 2 interfaces: Easily reproducible using below commands (in a new directory):
This gives error:
|
new CDK lib got released (V2.174.1), and the aws-cdk-go library looks good. |
Comments on closed issues and PRs are hard for our team to see. |
Please add your +1 👍 to let us know you have encountered this
Status: IN-PROGRESS
Overview:
Due to some changes in AWS Batch service CFN schema, and renaming in some types, the generated L1 classes for these types have conflicts in names that will cause issues in case insensitive systems.
Complete Error Message:
Workaround:
Revert
aws-cdk-lib
to version 2.173.4 or less.Solution:
The team will patch a new release (2.174.1) that contains a fix for this issue.
Original Issue
Describe the bug
I use aws-cdk-go and I'm trying to upgrade from v2.173.4 to v2.174.0 on macOS with the default case-insensitive file system (APFS).
Go reports a case-insensitive file name collision when I run
go get github.com/aws/aws-cdk-go/awscdk/[email protected]
. The conflict is caused by awsbatch/CfnJobDefinition_EFSVolumeConfigurationProperty.go and awsbatch/CfnJobDefinition_EfsVolumeConfigurationProperty.go.Regression Issue
Last Known Working CDK Version
2.173.4
Expected Behavior
go get github.com/aws/aws-cdk-go/awscdk/[email protected]
should succeed on case-insensitive file systems.Current Behavior
The command fails and the dependency is not updated in go.mod.
Reproduction Steps
On macOS with case-insensitive APFS run
go get github.com/aws/aws-cdk-go/awscdk/[email protected]
.Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.174.0 (build 9604329)
Framework Version
No response
Node.js Version
22.12.0
OS
macOS 15.2
Language
Go
Language Version
1.23.4
Other information
No response
The text was updated successfully, but these errors were encountered: