Complete the code to define an object type with a string attribute named 'name'.
variable "user" { type = object({ name = [1] }) }
The attribute 'name' should be of type string in the object definition.
Complete the code to add an integer attribute 'age' to the object type.
variable "person" { type = object({ name = string, age = [1] }) }
The 'age' attribute should be a number type to represent integers.
Fix the error in the object type definition by completing the missing type for 'active'.
variable "account" { type = object({ username = string, active = [1] }) }
The 'active' attribute should be a bool type to represent true or false.
Fill both blanks to define an object with a string 'id' and a list of strings 'tags'.
variable "resource" { type = object({ id = [1], tags = [2] }) }
The 'id' is a string and 'tags' is a list of strings represented as list(string).
Fill all three blanks to define an object with 'name' (string), 'count' (number), and 'enabled' (bool).
variable "config" { type = object({ name = [1], count = [2], enabled = [3] }) }
The 'name' is a string, 'count' is a number, and 'enabled' is a bool.