terraform/website/docs/cli/commands
Martin Atkins a945b379d8 website: Explicit examples of -var escaping in various shells
The -var command line option comes with the disadvantage that a user must
contend both with Terraform's own parser and with the parser in whichever
shell they've decided to use, and different shells on different platforms
have different rules.

Previously we've largely just assumed that folks know the appropriate
syntax for the shell they chose, but it seems that command lines involving
spaces and other special characters arise rarely enough in other commands
that Terraform is often the first time someone needs to learn the
appropriate syntax for their shell.

We can't possibly capture all of the details of all shells in our docs,
because that's far outside of our own scope, but hopefully this new
section will go some way to give some real examples that will help folks
figure out how to write suitable escape sequences, if they choose to
set complex variable values on the command line rather than in .tfvars
as we recommend elsewhere on this page.
2021-06-22 14:10:04 -07:00
..
providers website: CLI: Update links to moved docs pages 2021-01-22 12:22:21 -08:00
state command: use -lock=false consistently in -help output 2021-05-12 09:27:37 -07:00
workspace command: use -lock=false consistently in -help output 2021-05-12 09:27:37 -07:00
0.12upgrade.html.md
0.13upgrade.html.md
add.html.md commands: `terraform add` (#28874) 2021-06-17 12:08:37 -04:00
apply.html.md website: Add documentation for machine readable UI 2021-05-25 16:01:32 -04:00
console.html.md Add examples to `terraform console` command (#28773) 2021-05-25 10:06:23 -04:00
destroy.html.md website: More accurate release versions for new plan options 2021-05-26 09:19:33 -07:00
env.html.md website: CLI: Update links to moved docs pages 2021-01-22 12:22:21 -08:00
fmt.html.md
force-unlock.html.md
get.html.md
graph.html.md cli: Remove positional plan argument from graph 2021-02-02 13:21:26 -05:00
import.html.md command: use -lock=false consistently in -help output 2021-05-12 09:27:37 -07:00
index.html.md commands: `terraform add` (#28874) 2021-06-17 12:08:37 -04:00
init.html.md update init docs for -migrate-state 2021-05-17 12:41:54 -04:00
login.html.md website: CLI: Update links to moved docs pages 2021-01-22 12:22:21 -08:00
logout.html.md website: CLI: Update links to moved docs pages 2021-01-22 12:22:21 -08:00
output.html.md
plan.html.md website: Explicit examples of -var escaping in various shells 2021-06-22 14:10:04 -07:00
providers.html.md
push.html.md
refresh.html.md website: More accurate release versions for new plan options 2021-05-26 09:19:33 -07:00
show.html.md update show -json docs 2021-02-23 11:45:50 -05:00
taint.html.md website: "taint" command is deprecated from v0.15.2, not from v1.0.0 2021-05-26 10:16:38 -07:00
test.html.md website: Initial docs for the module integration testing experiment 2021-02-22 14:21:45 -08:00
untaint.html.md command: use -lock=false consistently in -help output 2021-05-12 09:27:37 -07:00
validate.html.md documentation: Clarify JSON diagnostic traversal 2021-03-17 11:46:24 -04:00
version.html.md website: CLI: Update links to moved docs pages 2021-01-22 12:22:21 -08:00