fix the providerWithLocals test
This test was set to fail once this issue was fixed, and now it's fixed.
This commit is contained in:
parent
3c2b3df5a9
commit
3ed7b1abec
|
@ -8928,8 +8928,7 @@ func TestContext2Apply_providerWithLocals(t *testing.T) {
|
||||||
// Destroy won't work because the local value is removed before the
|
// Destroy won't work because the local value is removed before the
|
||||||
// provider. Once this is fixed this test will start to fail, and we
|
// provider. Once this is fixed this test will start to fail, and we
|
||||||
// can remove the invalid interpolation string;
|
// can remove the invalid interpolation string;
|
||||||
// if providerRegion != "bar" {
|
if providerRegion != "bar" {
|
||||||
if providerRegion != "${local.foo}" {
|
|
||||||
t.Fatalf("expected region %q, got: %q", "bar", providerRegion)
|
t.Fatalf("expected region %q, got: %q", "bar", providerRegion)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue