Terrasonnet - Tanka-like implementation for Terraform #589
Replies: 3 comments 8 replies
-
Hey @ghostsquad Within Grafana Labs, we're exploring new ways to leverage Terraform too. Initially I would like to come up with a good way to render Jsonnet into JSON/HCL. I've experimented a little bit here: https://github.com/jsonnet-libs/k8s/blob/master/jsonnet/terraform.jsonnet Do you have any experiments going perhaps? |
Beta Was this translation helpful? Give feedback.
-
I’m using terramate for all my dynamic and code generation needs for terraform now. The way I tie terraform Tanka (jsonnet) together now is I read from terraform variable files both from Terraform and in Jsonnet. I use terraform.tfvars.json anywhere I want to also use the same data in Jsonnet. Then I have certain Terraform stacks which generate |
Beta Was this translation helpful? Give feedback.
-
This project seems to be quite active on this topic: https://docs.tflibsonnet.com/ |
Beta Was this translation helpful? Give feedback.
-
@sh0rez - I've been working with Jsonnet, generating terraform/hcl code (as json), and I was thinking of writing a tool, like Tanka. I've already come up with a name:
terrasonnet
. I was wondering if this is something with which you'd be interested in collaborating with me. I'd like it to have feature parity with terragrunt as well.Beta Was this translation helpful? Give feedback.
All reactions