News for hackers. Stuff that matters.
Re:Terraform 1.0 by lvncelot on Tuesday June 08, 2021 @10:42AM (#27435813)
> You can feed JSON to Terraform however this falls over if you need dependencies for output values

This is what I've started doing with Jsonnet for generation, and also exactly why I've stopped doing it.

Re:Terraform 1.0 by jen20 on Tuesday June 08, 2021 @12:23PM (#27437269)
I'm not sure I follow exactly what you're missing. `${aws_instance.example.x}` as a string value creates the same dependency as it would via HCL when used with JSON.
Re:Terraform 1.0 by polynomial on Wednesday June 09, 2021 @03:23AM (#27445187)
Same here, I don't see how outputs is being treated any differently by Terraform than any other .tf file written in HCL. I'm not saying it's not possible, but I haven't experienced a failure more there yet.
Re:Terraform 1.0 by lvncelot on Thursday June 10, 2021 @03:12AM (#27457809)
Thanks for the hint, now I'm not sure what went wrong when I tried something like this. I should read up on this more.