nullable
A variable setting; nullable = false refuses an explicit null, so the default is used instead of an empty value.
In more detail
By default a caller may pass null, meaning no value, to a variable. Setting nullable to false guarantees the module always receives a real value.
Related terms
- input variable — A named, typed value a configuration or module takes from outside, declared in a variable block and read as var.<name>.
Taught in
- Parameterising With Input Variables — Infrastructure as Code with Terraform
- Input Variables, Outputs, And Which Value Wins — HashiCorp Terraform Associate (004) Exam Prep