As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [terraform-workspace]

The tag has no usage guidance.

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

Is it possible to change the Terraform Cloud workspace execution mode within the code block instead of in the web interface?

Is it possible to change the Terraform Cloud workspace to Local execution mode rather than the Remote default? As the workspace can be created locally, it seems inconvenient to not be able to set ...
paradroid's user avatar
  • 101
0 votes
2 answers
246 views

dev/stage/prod in separate AWS accounts, managed via terraform cloud workspaces, how can I use lb ip in DNS records for each env?

We currently have 4 aws accounts: root - consolidated billing, domain purchased via route 53 development staging production And they're all managed via terraform cloud as separate workspaces. in dev/...
SebastianG's user avatar
1 vote
1 answer
143 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 ...
Salmon's user avatar
  • 11
2 votes
1 answer
425 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 ...
Evan Carroll's user avatar
  • 1,254
0 votes
2 answers
2k 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 ...
Evan Carroll's user avatar
  • 1,254
1 vote
1 answer
1k 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 ...
JohnLBevan's user avatar
2 votes
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....
Richard Slater's user avatar
5 votes
1 answer
679 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 ...
Black Dynamite's user avatar
6 votes
2 answers
4k 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. ...
user389955's user avatar