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.
More on Variables, Locals, Outputs and Types
How do you declare an input variable?BeginnerIn what order does Terraform load variable values?BeginnerHow do you define an output and what is it for?BeginnerWhat is the difference between locals and variables?BeginnerHow do list, set and map differ?IntermediateWhat are `object` and `tuple` types?Intermediate