Interview Prep/Terraform/Variables, Locals, Outputs and Types

What are the primitive types in Terraform?

BeginnerConceptVariables, Locals, Outputs and Types
Answer

string, number and bool. Terraform converts between them automatically where unambiguous, so "5" can be used as a number and true as "true". null represents absence of a value and is valid for any type.

All Terraform questions Roadmap: Terraform

More on Variables, Locals, Outputs and Types