docs: Clarify wording of which variables prompt
This commit is contained in:
parent
28a84e3f4e
commit
3900c3f086
|
@ -29,11 +29,11 @@ variable "region" {
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
This defines three variables within your Terraform configuration.
|
This defines three variables within your Terraform configuration. The first
|
||||||
The first two have empty blocks `{}`. The third sets a default. If
|
two have empty blocks `{}`. The third sets a default. If a default value is
|
||||||
a default value is set, the variable is optional. Otherwise, the
|
set, the variable is optional. Otherwise, the variable is required. If you run
|
||||||
variable is required. If you run `terraform plan` now, Terraform will
|
`terraform plan` now, Terraform will prompt you for the values for unset string
|
||||||
prompt you for the values for these variables since the required variables are not set.
|
variables.
|
||||||
|
|
||||||
## Using Variables in Configuration
|
## Using Variables in Configuration
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue