missing attribute now caught after apply
This commit is contained in:
parent
36aca84572
commit
41dde5fafc
|
@ -5782,6 +5782,7 @@ func TestContext2Apply_outputDiffVars(t *testing.T) {
|
||||||
|
|
||||||
result := s.MergeDiff(d)
|
result := s.MergeDiff(d)
|
||||||
result.ID = "foo"
|
result.ID = "foo"
|
||||||
|
result.Attributes["foo"] = "bar"
|
||||||
return result, nil
|
return result, nil
|
||||||
}
|
}
|
||||||
p.DiffFn = func(*InstanceInfo, *InstanceState, *ResourceConfig) (*InstanceDiff, error) {
|
p.DiffFn = func(*InstanceInfo, *InstanceState, *ResourceConfig) (*InstanceDiff, error) {
|
||||||
|
|
Loading…
Reference in New Issue