Comment

Comment by aurantia

> workspaces are specifically _not_ intended to be used as environment replacements.

From Terraform's "An Overview of Our Recommended Workflow"[1]:

  "The best approach is to use one workspace for each environment of a given infrastructure component. Or in other words, Terraform configurations * environments = workspaces."
So 1 workspace != 1 environment but workspaces are indeed intended to handle multiple environments.

I've personally struggled with managing multiple environments using Terraform so I'm interested in what the best practices are.

[1]: https://www.terraform.io/docs/cloud/guides/recommended-pract...

parent aurantia 5 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton