Commit 3eea9d70 authored by Laura Pacilio's avatar Laura Pacilio
Browse files

Add warning about spaces in variable value assignment

parent 488853be
Showing with 2 additions and 0 deletions
+2 -0
...@@ -167,6 +167,8 @@ we recommend using the `-var-file` option instead, and write your actual values ...@@ -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 in a separate file so that Terraform can parse them directly, rather than
interpreting the result of your shell's parsing. 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 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 recommend writing the option argument in single quotes `'` to ensure the
shell will interpret the value literally: shell will interpret the value literally:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment