mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
Merge pull request #30969 from hashicorp/add-note-about-spaces
Add warning about spaces in variable value assignment
This commit is contained in:
commit
98f9d646ce
@ -167,6 +167,8 @@ we recommend using the `-var-file` option instead, and write your actual values
|
||||
in a separate file so that Terraform can parse them directly, rather than
|
||||
interpreting the result of your shell's parsing.
|
||||
|
||||
~> **Warning:** Terraform will error if you include a space before or after the equals sign (e.g., `-var "length = 2"`).
|
||||
|
||||
To use `-var` on a Unix-style shell on a system like Linux or macOS we
|
||||
recommend writing the option argument in single quotes `'` to ensure the
|
||||
shell will interpret the value literally:
|
||||
|
Loading…
Reference in New Issue
Block a user