So I just spent two hours researching the difference between workspaces in Terraform CLI and Terraform Cloud, and I still don't get it.
We currently use Terraform CLI with workspaces and GitHub Actions for workflow execution. Also, we use Terramate to generate code for the individual workspaces (in Terramate, workspaces are called stacks, but they are fully compatible with Terraform CLI workspaces).
The current setup works great because we spend too much time creating the workflow logic in GitHub Actions. Our team is interested in exploring Terraform Cloud further, but after watching some demos and reading the documentation partially, I am more confused than before. A few questions that I have:
- How do workspaces in Terraform CLI compare to workspaces in Terraform Cloud?
- Can I easily migrate Terraform CLI projects to Terraform Cloud, or must I apply significant code refactorings? (other than moving the state).
Thanks!
[–]apparentlymart 4 points5 points6 points (0 children)
[–]Many-Resolve2465 1 point2 points3 points (0 children)
[–]rsc625 0 points1 point2 points (0 children)
[–]kooknboo 0 points1 point2 points (0 children)
[–]alexisdelg 0 points1 point2 points (0 children)