2
Answers

What’s the best practice to manage multiple environments

Photo of Ck Nitin

Ck Nitin

2d
45
1

👋 Hello DevOps Gurus!

I’m working on infrastructure automation using Terraform and I’m a bit stuck! 🛠️

I want to know:

👉 What’s the best practice to manage multiple environments (like Dev, QA, UAT, Prod) using Terraform?

  • Should I create separate state files? 📂

  • Or use workspaces? 🏢

  • Or keep everything in separate folders/modules? 📦

I want to keep things clean, scalable, and easy to manage. ✨

💡 What strategy do you recommend and why?
Any real-world insights or examples would be super helpful! 💬

Thanks in advance! 🙏

Answers (2)