mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-28 18:01:01 -06:00
15e7927009
This was never intended to be valid syntax, but it worked in the old HCL parser, and we've found a decent number of examples of it in the wild. Fixed in https://github.com/hashicorp/hcl/pull/62 and we'll keep this test in Terraform to cover the behavior.
8 lines
123 B
HCL
8 lines
123 B
HCL
variable "ami" {
|
|
default = [ "ami", "abc123" ]
|
|
}
|
|
|
|
resource "aws_instance" "quotes" {
|
|
ami = "${join(\",\", var.ami)}"
|
|
}
|