From 2a2e1904ea580d8ff5a4733b1cfb322288f3e738 Mon Sep 17 00:00:00 2001 From: Matt Smith Date: Tue, 11 Apr 2023 13:52:59 +0200 Subject: [PATCH] Document new -or-create flag. --- website/docs/cli/commands/workspace/select.mdx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/website/docs/cli/commands/workspace/select.mdx b/website/docs/cli/commands/workspace/select.mdx index f22f7aabeb..497a565446 100644 --- a/website/docs/cli/commands/workspace/select.mdx +++ b/website/docs/cli/commands/workspace/select.mdx @@ -15,6 +15,10 @@ Usage: `terraform workspace select NAME [DIR]` This command will select another workspace. The named workspace must already exist. +The supported flags are: + +* `-or-create` - If the workspace that is being selected does not exist, create it. Default is `false`. + ## Example ```