You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
terraform/terraform/node_count_boundary.go

15 lines
401 B

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{}
}