New answers tagged

1

Workspaces are an unnecessary complexity which causes the possibility that you destroy your prod environment (or leak secrets). It is a much better practice to switch backends, and that is noted in the docs: https://www.terraform.io/language/state/workspaces In particular, organizations commonly want to create a strong separation between multiple ...


1

This is possible and I just completed a migration at my company. We originally had all our state for all workspaces in a centralized s3 bucket. We now have a separate s3 bucket per workspace, and in our case each workspace is tied directly to an aws account. To do this you have to pass in back end settings dynamically at the time of terraform init. We do ...


Top 50 recent answers are included