CustomResource applies presumptuous property uppercasing #3421
Labels
@aws-cdk/aws-cloudformation
Related to AWS CloudFormation
effort/small
Small work item βΒ less than a day of effort
feature-request
A feature should be added or improved.
good first issue
Related to contributions. See CONTRIBUTING.md
I'm submitting a ...
What is the current behavior?
https://github.com/aws/aws-cdk/blob/v1.1.0/packages/@aws-cdk/aws-cloudformation/lib/custom-resource.ts#L96
Uppercasing is applied to the first character of a provided parameter name. This seems very opinionated, and is not mirrored by the existing Cloudformation behavior.
What is the expected behavior (or behavior of feature suggested)?
No transformation is applied.
What is the motivation / use case for changing the behavior or adding this feature?
In our case, we have an existing lambda which accepts some parameters, which are currently lowercase. Migrating to CDK requires an update to the deployed lambda code - which our team does not own. This behavior is not documented outside code (from what I can see), and what has been documented does not seem to serve as any real justification for the transformation.
Please tell us about your environment:
The text was updated successfully, but these errors were encountered: