From 97b7915b8f5fe7be0927e991431792e1d0051ae6 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Mon, 7 Nov 2016 10:37:30 -0800 Subject: [PATCH] terraform: fix zero/one boundary for resource counts --- terraform/node_resource_plan.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/terraform/node_resource_plan.go b/terraform/node_resource_plan.go index b53484cf94..4bde0b17c2 100644 --- a/terraform/node_resource_plan.go +++ b/terraform/node_resource_plan.go @@ -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}, }, } }