diff --git a/terraform/variables_test.go b/terraform/variables_test.go index 2a97f4edb..c29104e92 100644 --- a/terraform/variables_test.go +++ b/terraform/variables_test.go @@ -136,6 +136,18 @@ func TestVariables(t *testing.T) { "b": "1", }, }, + + "override map with string": { + "vars-basic", + map[string]string{ + "TF_VAR_c": `{"foo" = "a", "bar" = "baz"}`, + }, + map[string]interface{}{ + "c": "bar", + }, + true, + nil, + }, } for name, tc := range cases {