3 ms·
What are your thoughts on using modules inside terraform ?
by mcrmonkey 9y ago
What are your thoughts on using modules inside terraform ?
- _ix 9y agoNot the op, but I have some brief thoughts. Given a bit of time with Terraform, the need for modules becomes obvious as you identify common resources for the infrastructure you're modeling. I thought writing modules first was the "right way," but starting with modules ended up being a waste.
- scaryclam 9y agoI'll second this. I started out not using modules, but figured I'd migrate things over to using them as and when it would make things tidier. I never migrated things. Modules are really neat but I don't think they're a sensible starting point if you're not doing a lot of repetition or don't exactly know what you need to build yet.
- stimur 9y agoEverything described in the blog post is using modules making infrastructure description abstract enough to understand and deploy/manage.