diff --git a/hcl2template/common_test.go b/hcl2template/common_test.go index 4a4889e8b..781febd90 100644 --- a/hcl2template/common_test.go +++ b/hcl2template/common_test.go @@ -190,6 +190,7 @@ var ( } basicMockPostProcessor = &MockPostProcessor{ Config: MockConfig{ + NotSquashed: "value ", NestedMockConfig: basicNestedMockConfig, Nested: basicNestedMockConfig, NestedSlice: []NestedMockConfig{ diff --git a/hcl2template/testdata/complete/build.pkr.hcl b/hcl2template/testdata/complete/build.pkr.hcl index 5d6745a01..0077d98e5 100644 --- a/hcl2template/testdata/complete/build.pkr.hcl +++ b/hcl2template/testdata/complete/build.pkr.hcl @@ -138,6 +138,7 @@ build { ["a","b"], ["c","d"] ] + not_squashed = "${var.foo} ${upper(build.ID)}" nested { string = "string" @@ -185,6 +186,7 @@ build { ["a","b"], ["c","d"] ] + not_squashed = "${var.foo} ${upper(build.ID)}" nested { string = "string"