From 6fda18d27e3b10f15bbdf841cb32da2c24e4b34c Mon Sep 17 00:00:00 2001 From: Adam Gardner Date: Tue, 11 Oct 2022 11:52:55 -1000 Subject: [PATCH] Add warning about prefix loss when migrating Adds a warning about the consequences of switching to the `cloud` block, in terms of losing `prefix` support, and the impact that has on CLI usage. --- website/docs/cli/cloud/migrating.mdx | 1 + 1 file changed, 1 insertion(+) diff --git a/website/docs/cli/cloud/migrating.mdx b/website/docs/cli/cloud/migrating.mdx index d9f15ae382..ec636d04b5 100644 --- a/website/docs/cli/cloud/migrating.mdx +++ b/website/docs/cli/cloud/migrating.mdx @@ -82,3 +82,4 @@ terraform { } } ``` +~> **Warning:** Because the `cloud` provider does not support the `prefix` argument, once you migrate you will need to refer to workspaces by their full name when using the Terraform CLI. For example, rather than `terraform workspace select prod`, you would need to run the command `terraform workspace select my-app-prod`.