-
Notifications
You must be signed in to change notification settings - Fork 458
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
cdktf: synth --hcl fails to render false(bool), 0(int), ""(empty string) #3621
Comments
false fails to render in module |
8 tasks
tenminus11
changed the title
cdktf: synth --hcl fails to render false value in bool datatype in python
cdktf: synth --hcl fails to render false(bool), 0(int), ""(empty string)
May 22, 2024
covracer
added a commit
to biobuddies/helicopyter
that referenced
this issue
Jan 25, 2025
### Changes and Testing * Rely on just python-platform to handle the appnope nuisance * Update requirements, mainly to pull in a CDKTF fix for HCL generation - hashicorp/terraform-cdk#3621 - hashicorp/terraform-cdk#3655 * Zero-pad build count to two digits to match the week count (not sure how often users will release 2+ times a day for 5+ days) * Rename GASH to GIHA because the former sounds painful and the latter sounds fun * Fix shell detection to handle `bash includes.sh devready` * Call includes.sh from the justfile for longer functions to reduce duplication / accidental drift * Drop `uvcount` and `gvcount` in favor of `release` and `INSH_RELEASE_PREFIX` * Ran `upc && ups && release`, as well as many just recipes, on a Macbook * Switch from yarn to npm for simpler bootstrapping * More OpenTofu ### Future Work * Combining gitignore fetching hooks into one that takes the language list from a file or environment variable * Enable pctam to run without arguments * Potentially combining pct* and pc* functions/recipes * More Justfile, less Bash and pre-commit?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected Behavior
false should come as a parameter instead it is empty in hcl, it is present in .json
"" empty string in resource and module also fails to render
0 value also fails to render in module
Actual Behavior
Steps to Reproduce
Versions
anguage: python
cdktf-cli: 0.20.7
node: v20.12.2
cdktf: 0.20.7
constructs: 10.3.0
jsii: 1.98.0
terraform: 1.5.6
arch: x64
os: linux 6.6.15-2rodete2-amd64
python: Python 3.11.8
pip: pip 24.0 from xxxxxxx/lib/python3.11/site-packages/pip (python 3.11)
pipenv: pipenv, version 2023.12.1
providers
google@~> 5.28.0 (LOCAL)
terraform provider version: 5.28.0
cdktf-cdktf-provider-google (PREBUILT)
terraform provider version: 5.27.0
prebuilt provider version: 13.16.0
cdktf version: ^0.20.0
Providers
┌───────────────┬──────────────────┬─────────┬────────────┬─────────────────────────────┬─────────────────┐
│ Provider Name │ Provider Version │ CDKTF │ Constraint │ Package Name │ Package Version │
├───────────────┼──────────────────┼─────────┼────────────┼─────────────────────────────┼─────────────────┤
│ google │ 5.28.0 │ │ ~> 5.28.0 │ │ │
├───────────────┼──────────────────┼─────────┼────────────┼─────────────────────────────┼─────────────────┤
│ google │ 5.27.0 │ ^0.20.0 │ │ cdktf-cdktf-provider-google │ 13.16.0 │
└───────────────┴──────────────────┴─────────┴────────────┴─────────────────────────────┴─────────────────┘
Gist
No response
Possible Solutions
No response
Workarounds
No response
Anything Else?
No response
References
No response
Help Wanted
Community Note
The text was updated successfully, but these errors were encountered: