multiline string terraform code example
Example: terraform multiline string
variable "key" {
type = string
default = "value"
}
# A multi-line string value can be provided using heredoc syntax.
variable "long_key" {
type = string
default = <<EOF
This is a long key.
Running over several lines.
EOF
}