You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When terraform modules contain a number followed by a single letter (eg. a1b, k8s, another2e, etc) an error is throw when executing cdktf get:
Type names must be PascalCased. Rename "A1B" to "A1b"
Expected Behavior
When executing cdktf get, the toPascalCase must handle this edge case and capitalise the single letter after the number (e.g. A1B, K8S) and the command must compile the modules and exit 0.
Current Behavior
When executing cdktf get the following is thrown:
Type names must be PascalCased. Rename "A1B" to "A1b"
Reproduction Steps
Create a cdktf project with template Python
Add a terraformModule to cdktf.json with a name that ends with a number and 1 letter.
run cdktf get
Possible Solution
the function cokemaker.toPascalCase should capitalise that last letter in all cases
Additional Information/Context
No response
SDK version used
0.15.5
Environment details (OS name and version, etc.)
MacOS 12.6.5
The text was updated successfully, but these errors were encountered:
Describe the bug
When terraform modules contain a number followed by a single letter (eg. a1b, k8s, another2e, etc) an error is throw when executing
cdktf get
:Type names must be PascalCased. Rename "A1B" to "A1b"
Expected Behavior
When executing
cdktf get
, the toPascalCase must handle this edge case and capitalise the single letter after the number (e.g. A1B, K8S) and the command must compile the modules and exit 0.Current Behavior
When executing
cdktf get
the following is thrown:Type names must be PascalCased. Rename "A1B" to "A1b"
Reproduction Steps
cdktf get
Possible Solution
the function cokemaker.toPascalCase should capitalise that last letter in all cases
Additional Information/Context
No response
SDK version used
0.15.5
Environment details (OS name and version, etc.)
MacOS 12.6.5
The text was updated successfully, but these errors were encountered: