Add failing test for GH-10155
Overriding a map variable with the incorrect type panics
This commit is contained in:
parent
81125f6aeb
commit
8f6811da0c
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue