Complete the code to set a default value for the variable.
variable "region" { type = string default = "[1]" }
The default value for the variable region should be a valid AWS region string like us-west-2.
Complete the code to set a default value for the variable with a list of strings.
variable "availability_zones" { type = list(string) default = [1] }
The default value must be a list of strings matching the variable type list(string).
Fix the error in the variable default value to match the declared type.
variable "instance_count" { type = number default = [1] }
The default value must be a number without quotes to match the number type.
Fill both blanks to define a variable with a map type and default values.
variable "tags" { type = map(string) default = { [1] = [2] } }
The map key should be a string like "Environment" and the value a string like "Production".
Fill all three blanks to define a variable with a complex default map of strings.
variable "metadata" { type = map(string) default = { [1] = [2] [3] = "v1" } }
The map keys and values must be strings. Here, "Owner" maps to "Alice", and "Project" maps to "v1".