Hacker News new | ask | show | jobs
by jen20 1387 days ago
I'm assuming this is Terragrunt, which itself perpetuates all kinds of horrific practices which are absolutely unnecessary if you apply basic software engineering principles to infrastructure as code/config.
5 comments

Terragrunt is an antipattern. Made the mistake once with a very poorly structured project I inherited, never again.
Terragrunt is not an anti-pattern, but it is a tool that is easier to get wrong than Terraform and so people create great messes with it.

Used right it's the only way to remain sane on any non-trivial set of infra where you don't end up hand-rolling a half-baked version of Terragrunt.

Managing 10^5 servers right now with Terragrunt. Can confirm, it's the only way to stay sane.

Getting to this point was a learning process though. Probably six solid years of investment now.

From experience terragrunt + atlantis has been much better experience than hashicorp's own terraform enterprise service.
not using terraform enterprise.
"Code generation" is pure evil.

I second that Terraform needs to work at least on dynamically specifying providerblocks. This is where people usually resort to terragrunt.

Workspaces and state layering are in my experience hard on the novices and unfortunately they turn to terragrunt.

Not disagreeing, but you have to create a shit ton of scaffolding to work around TF's lack of useful functionality and painful UX. Terragrunt exists because somebody had to do the same, and then kept adding on "smart" features making it even more overcomplicated.
Could you express more? There's gotta be a good use case for Terragrunt; they have been useful so far for me
Do you know of any articles or other writeups about this?
Where does it say Terragrunt is part of Hashicorp?
> The most popular tool in HashiCorp's ecosystem that wasn't written by them was written by a consulting firm who hated HashiCorp's UX

This is the initial comment about Terragrunt, which doesn't say that

Indeed: it says the exact opposite.
Good, we both agree that no one in this thread suggested terragrunt is developed by hashicorp?