terraform/terratest/variables.tf (25 lines of code) (raw):
variable "example" {
description = "Example variable"
type = string
default = "example"
}
variable "example2" {
description = "Example variable 2"
type = string
default = ""
}
variable "example_list" {
description = "An example variable that is a list."
type = list(string)
default = []
}
variable "example_map" {
description = "An example variable that is a map."
type = map(string)
default = {}
}
variable "example_any" {
description = "An example variable that is can be anything"
type = any
default = null
}