config: allow TerraformVars in count
This commit is contained in:
parent
d475fc29a8
commit
e2ca2c5911
|
@ -501,10 +501,13 @@ func (c *Config) Validate() error {
|
|||
// Good
|
||||
case *ModuleVariable:
|
||||
case *ResourceVariable:
|
||||
case *TerraformVariable:
|
||||
case *UserVariable:
|
||||
|
||||
default:
|
||||
panic(fmt.Sprintf("Unknown type in count var in %s: %T", n, v))
|
||||
errs = append(errs, fmt.Errorf(
|
||||
"Internal error. Unknown type in count var in %s: %T",
|
||||
n, v))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue