mirror of https://github.com/hashicorp/terraform
The comma-separated syntax is now reserved only for object constructor expressions in attribute values, so the upgrade tool rewrites block arguments to be newline-separated instead. This was already working but we didn't have an explicit test for it until now.pull/20018/head
parent
54bb0b1e25
commit
085ac6d8ca
@ -0,0 +1,7 @@
|
||||
locals {
|
||||
foo = "bar", baz = "boop"
|
||||
}
|
||||
|
||||
resource "test_instance" "foo" {
|
||||
image = "b", type = "d"
|
||||
}
|
||||
@ -0,0 +1,9 @@
|
||||
locals {
|
||||
foo = "bar"
|
||||
baz = "boop"
|
||||
}
|
||||
|
||||
resource "test_instance" "foo" {
|
||||
image = "b"
|
||||
type = "d"
|
||||
}
|
||||
@ -0,0 +1,3 @@
|
||||
terraform {
|
||||
required_version = ">= 0.12"
|
||||
}
|
||||
Loading…
Reference in new issue