-
Notifications
You must be signed in to change notification settings - Fork 30
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
Move HCL support to be compatible with 0.12+ syntax #312
Comments
Thanks for the detailed issue. Everything you said makes sense to me. |
Can we close it, or there are some things here that #313 didn't address? |
Nope this isn't fully addressed but we can rename it to something that clearly states it doesn't support Terraform 0.12.? |
I think two things need to happen with this issue:
|
@dlespiau sounds perfect. |
No promises on an ETA, but this is definitely on my radar :) |
The terraform example doesn't produce valid terraform code. With no clear example of how to make it work.
Example from https://jkcfg.github.io/#/documentation/quick-start
Invalid
expected valid output
Quick fixes
We can change the example to the following to get closer to valid terraform 0.11.xx syntax (this is not valid 0.12 syntax yet though because of the quotes around "resources")
However, replacing the example to export
.tf.json
produces valid terraform parseable results.Which can then be used with terraform plan
Docs
https://www.terraform.io/docs/providers/github/
https://www.terraform.io/docs/providers/github/r/membership.html
Extra info
I tried to find how to make this possible but I couldn't find a test or example test case in the codebase. I would love to try to help make this valid as I think this is an incredible way to dynamically generate terraform.
The text was updated successfully, but these errors were encountered: