diff --git a/configs/configupgrade/test-fixtures/valid/argument-commas/input/argument-commas.tf b/configs/configupgrade/test-fixtures/valid/argument-commas/input/argument-commas.tf new file mode 100644 index 000000000..9c15a6fdb --- /dev/null +++ b/configs/configupgrade/test-fixtures/valid/argument-commas/input/argument-commas.tf @@ -0,0 +1,7 @@ +locals { + foo = "bar", baz = "boop" +} + +resource "test_instance" "foo" { + image = "b", type = "d" +} diff --git a/configs/configupgrade/test-fixtures/valid/argument-commas/want/argument-commas.tf b/configs/configupgrade/test-fixtures/valid/argument-commas/want/argument-commas.tf new file mode 100644 index 000000000..c0a514e1c --- /dev/null +++ b/configs/configupgrade/test-fixtures/valid/argument-commas/want/argument-commas.tf @@ -0,0 +1,9 @@ +locals { + foo = "bar" + baz = "boop" +} + +resource "test_instance" "foo" { + image = "b" + type = "d" +} diff --git a/configs/configupgrade/test-fixtures/valid/argument-commas/want/versions.tf b/configs/configupgrade/test-fixtures/valid/argument-commas/want/versions.tf new file mode 100644 index 000000000..d9b6f790b --- /dev/null +++ b/configs/configupgrade/test-fixtures/valid/argument-commas/want/versions.tf @@ -0,0 +1,3 @@ +terraform { + required_version = ">= 0.12" +}