Complete the code to declare a variable with a default value.
variable "region" { type = string default = [1] }
The default value for a Terraform variable must be a string literal enclosed in quotes.
Complete the code to declare a variable with a list type.
variable "availability_zones" { type = [1] }
To declare a variable as a list of strings in Terraform, use list(string) as the type.
Fix the error in the variable declaration for a boolean variable.
variable "enable_logging" { type = bool default = [1] }
Boolean default values in Terraform must be unquoted true or false, not strings.
Fill both blanks to declare a variable with a map of strings type and a default value.
variable "tags" { type = [1] default = [2] }
The type for a map of strings is map(string). The default value must be a map with key-value pairs.
Fill all three blanks to declare a variable with a description, type, and default value.
variable "instance_count" { description = [1] type = [2] default = [3] }
The description is a string in quotes. The type for numbers is number. The default value is a number without quotes.