-
Notifications
You must be signed in to change notification settings - Fork 459
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
dependency is incorrectly generated for the terraform-module #507
Comments
@andrey-dubnik Thanks for raising this issue. Yes, this should be snake-cased. I'm wondering if just changing the Out of curiosity, what's your reason to use TerraformModule rather than imports? |
Changing the property may do it as well, although this would probably cause the lack of clarity which approach to take by addressing the same problem differently within the code base. It seem imports can only handle modules from the public hashicorp registry where we use a private one hence needed to use a different approach with the TerraformModule. |
Yes, true. That's a current limitation which we'll be addressing in the future. Thanks for your feedback.
Absolutely. |
I'm going to lock this issue because it has been closed for 30 days. This helps our maintainers find and focus on the active issues. If you've found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Community Note
cdktf & Language Versions
cdkf 0.1.0
Java
Affected Resource(s)
terraform-module
Expected Behavior
depends_on not dependsOn in the synth JSON
Steps to Reproduce
Create any module with depends on
References
terraform-cdk/packages/cdktf/lib/terraform-module.ts
Line 75 in 1615302
Should probably go via similar keysToSnakeCase transformation to
terraform-cdk/packages/cdktf/lib/terraform-resource.ts
Line 108 in 1615302
The text was updated successfully, but these errors were encountered: