Questions tagged [terraform-workspace]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
14 views

TerraForm separate stages

I want to separate my development stages in the TerraForm repository. The TerraForm workspaces page states: "Workspaces alone are not a suitable tool for system decomposition, because each ...
user avatar
  • 1
0 votes
0 answers
122 views

How to provide Docker hub credentials and pull images from private repository in Docker hub using terraform?

Do I need docker image registry as I have seen in this link : How can I use Docker Hub in Terraform? my code looks like in main.tf and also terraform version 1.1.4 on windows terraform { ...
user avatar
1 vote
1 answer
113 views

Is it possible to store your state for different Terraform Workspaces separately?

Let's say I have a terraform project with a production and development workspace. Is it possible to store the development workspace elsewhere so I don't have to give the admin the ability to run ...
user avatar
0 votes
2 answers
198 views

Terraform workspaces vs isolated directories?

I'm reading the "Terraform: Up & Running, 2nd Edition" book by Yevgeniy Brikman, the author is going through a lot of work to NOT use workspaces? Is this sound? It seems like really ...
user avatar
1 vote
1 answer
627 views

Include verbose output in terraform/terragrunt

Is there any way to include verbose / debugging output in Terraform / Terragrunt? I'm new to the language, and often struggle with knowing exactly what's going on. It would be helpful for me to be ...
user avatar
1 vote
1 answer
2k views

How to set Terraform Cloud environment variables from the command line?

Terraform Cloud is a SaaS platform for managing Terraform runs, state and variables. Once you have created a project you can set environment variables via the following page: https://app.terraform....
user avatar
5 votes
1 answer
610 views

Terraform: Delay the MySQL Provider

I have a Terraform project which uses the MySQL provider. Because of the way Terraform works, the MySQL provider will fail to load correctly because the AWS_RDS instance doesn't exist. Is there a ...
user avatar
6 votes
2 answers
3k views

What is the difference between modules and workspaces in Terraform

I currently use Terraform workspaces to configure different environments like dev, test, prod, and my code works fine. And I believe I can use workspaces to configure different regions as well. ...
user avatar