blob: bd32c79f3460b2e1b674ccab60bddb476289fd36 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
package terraform
// NodeCountBoundary fixes any "count boundarie" in the state: resources
// that are named "foo.0" when they should be named "foo"
type NodeCountBoundary struct{}
func (n *NodeCountBoundary) Name() string {
return "meta.count-boundary (count boundary fixup)"
}
// GraphNodeEvalable
func (n *NodeCountBoundary) EvalTree() EvalNode {
return &EvalCountFixZeroOneBoundaryGlobal{}
}
|