# general

George Fahmy

01/08/2023, 9:03 AM
Very interesting thank you!!

James Caffey

01/08/2023, 4:49 PM
Thanks @George Fahmy 👍

Paul Rafferty

01/14/2023, 9:05 AM
This is great! I read through it on the phone but I'm going to give it a proper deep-dive later. The high LOC in the terraform example isn't unexpected, but the scale of difference surprised me! I drive my terraform using external data (hiera yaml) and all of my HCL uses a lot of iteration. I think it might be possible to shave a few LOC off the terraform with this approach without making it harder to read. Hiera + Terraform was a game-change for me. But there are some pitfalls, because the tf DSL fails in some unexpected ways when you're heavily pushing this approach. Feel free to DM me for an example as I don't have anything blog-ready.