News for hackers. Stuff that matters.
Re:Maximizing Terraform modules for platform engineering by sshine on Wednesday June 26, 2024 @05:45AM (#40798171)
I’ve used Terraform modules for my personal infrastructure to keep things separated. They work fine for that.

Maybe if you work at a shop where you repeat the same thing, thinking of a module hierarchy that allows reuse makes a lot of sense.

But with HCL you’re essentially doomed to copy-paste your configuration anyways, so the takeaway for me is:

If you’re going to copy-paste Terraform code for entire, similar-looking projects, consider using modules.

Re:Maximizing Terraform modules for platform engineering by rk2 on Wednesday June 26, 2024 @12:05PM (#40801519)
The idea here is to get your modules more organized, so you can avoid actually copy pasting, but rather using version controlled modules.