74873838e0
This test was previously not setting InputModeVarUnset, causing us to overwrite the "amis" map that _is_ already set. This worked before because we used to treat the empty result as an empty map and then merge it with the given value, but since we no longer do that merging behavior we were ending up with an empty map after input. Since the intent of this test is to see that the "foo" variable gets populated by input, here we add InputModeVarUnset which then matches how the input walk is triggered by the "real" codepath in the local backend. This also includes some updates to make the test fixture v0.12-idiomatic (applied after it was seen to work with the old fixture) and to properly handle the "diags" return value from the various context methods. |
||
---|---|---|
.. | ||
main.tf |