mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-26 08:51:02 -06:00
terraform: fix zero/one boundary for resource counts
This commit is contained in:
parent
bd8802e08d
commit
97b7915b8f
@ -21,6 +21,8 @@ func (n *NodePlannableResource) EvalTree() EvalNode {
|
||||
// With the interpolated count, we can then DynamicExpand
|
||||
// into the proper number of instances.
|
||||
&EvalInterpolate{Config: n.Config.RawCount},
|
||||
|
||||
&EvalCountFixZeroOneBoundary{Resource: n.Config},
|
||||
},
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user