ensure there is always a valid return value

This commit is contained in:
James Bardin 2021-12-14 18:02:57 -05:00
parent d469e86331
commit 71b9682e8c
1 changed files with 1 additions and 1 deletions

View File

@ -794,7 +794,7 @@ func (d *evaluationStateData) GetResource(addr addrs.Resource, rng tfdiags.Sourc
instances[key] = val
}
var ret cty.Value
ret := cty.DynamicVal
switch {
case config.Count != nil: