-
Notifications
You must be signed in to change notification settings - Fork 450
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
DataKubernetesNamespace resource is missing name field #856
Comments
Looks like a workaround is to use: |
@bartlettt thanks for reporting this! I've reproduced this using CDK for Terraform 0.5 and the 2.3.2 (current) version of the For the sake of the engineer who picks this up, I created a simple reproduction case that can be git cloned. |
Using terraform-cdk/packages/cdktf-cli/lib/get/generator/emitter/attributes-emitter.ts Line 225 in fe4a10f
This should get fixed with #525. |
This should be fixed in 0.7, metadata is a single item block |
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
Typescript
cdktf: 0.2.1
"@cdktf/provider-kubernetes": "^0.2.110"
Affected Resource(s)
DataKubernetesNamespace
Probably other Kubernetes Data resources too
Debug Output
https://gist.github.com/bartlettt/bd130b3e27063948a1a8677fcc6e7bd4
Expected Behavior
Namespace name should have been printed to console
Actual Behavior
Undefined was printed to console
Steps to Reproduce
The text was updated successfully, but these errors were encountered: