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
|
// With the interpolated count, we can then DynamicExpand
|
||||||
// into the proper number of instances.
|
// into the proper number of instances.
|
||||||
&EvalInterpolate{Config: n.Config.RawCount},
|
&EvalInterpolate{Config: n.Config.RawCount},
|
||||||
|
|
||||||
|
&EvalCountFixZeroOneBoundary{Resource: n.Config},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue