DEV Community

Discussion on: Terraform Design Best Practices

Collapse
 
andreidascalu profile image
Andrei Dascalu

It would be really interesting to see an article about terraform refactoring. I was never able to avoid a ball of mud.
Between version 0.9 and the current 0.14 there have been lots of changes to allow better organisation and state management.
But when you're starting out with 2 VMS and a DB and grow into a multizone system with lots of moving parts it seems important to be able to refactor along the way without messing up your state.

Collapse
 
macunha profile image
Matheus Cunha

That's a great idea for a next post to write on this topic, thank you for sharing (:

I have some notes that I can put together and start that, once it's published I will let you know.

Collapse
 
macunha profile image
Matheus Cunha

There you go dev.to/macunha/real-life-terraform...

I would appreciate your feedback on that one ;)