no module state, we shouldn't fail multivars yet
This commit is contained in:
parent
6dcb7166d1
commit
ca48dcab4a
|
@ -1732,7 +1732,7 @@ func (c *walkContext) computeResourceMultiVariable(
|
|||
}
|
||||
|
||||
// If we have no module in the state yet or count, return empty
|
||||
if module == nil || count == 0 {
|
||||
if module == nil || len(module.Resources) == 0 || count == 0 {
|
||||
return "", nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue