mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
config: allow TerraformVars in count
This commit is contained in:
parent
d475fc29a8
commit
e2ca2c5911
@ -501,10 +501,13 @@ func (c *Config) Validate() error {
|
|||||||
// Good
|
// Good
|
||||||
case *ModuleVariable:
|
case *ModuleVariable:
|
||||||
case *ResourceVariable:
|
case *ResourceVariable:
|
||||||
|
case *TerraformVariable:
|
||||||
case *UserVariable:
|
case *UserVariable:
|
||||||
|
|
||||||
default:
|
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
Block a user