Skip to content

Glossary: Terraform

Condition

Also written: conditional expression, ternary

An expression like `var.env == "prod" ? 50 : 5` that picks one of two values. The same word names the true/false test inside a validation, precondition or assert.

Where the book teaches it

Related terms

countValidation