-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
cli: cdk migrate wrongly converts casing in ecs task definition props #29027
Comments
Thanks for reporting, I could reproduce the issue. It looks like the options need to remain in that format to deploy properly: logConfiguration: {
options: {
'awslogs-group': '/aws/ecs/test/main',
'awslogs-region': 'ap-northeast-1',
'awslogs-stream-prefix': 'ecs',
},
logDriver: 'awslogs',
}, |
Duplicate-ish of #28997. Same issue in the code, different manifestation of the bug. |
This fix for this was released in v2.132. |
|
Describe the bug
cdk migrate fails in handling the casing of ECS task definition properties. See the reproduction steps below.
Expected Behavior
casing is kept from the original template.
Current Behavior
they're converted to camel case.
It results in the error below when you try to deploy the template:
Reproduction Steps
Deploy this template from CFn management console:
And then use cdk migrate:
Possible Solution
No response
Additional Information/Context
There are some props in CFn that casing should remain unchanged. One of them is an object of string that takes any string as a key: example
CDK CLI Version
2.126.0
Framework Version
No response
Node.js Version
v20.10.0
OS
macOS
Language
TypeScript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: