github.com/hashicorp/terraform-plugin-sdk@v1.17.2/terraform/node_count_boundary.go (about) 1 package terraform 2 3 import ( 4 "github.com/hashicorp/terraform-plugin-sdk/internal/configs" 5 ) 6 7 // NodeCountBoundary fixes up any transitions between "each modes" in objects 8 // saved in state, such as switching from NoEach to EachInt. 9 type NodeCountBoundary struct { 10 Config *configs.Config 11 } 12 13 func (n *NodeCountBoundary) Name() string { 14 return "meta.count-boundary (EachMode fixup)" 15 } 16 17 // GraphNodeEvalable 18 func (n *NodeCountBoundary) EvalTree() EvalNode { 19 return &EvalCountFixZeroOneBoundaryGlobal{ 20 Config: n.Config, 21 } 22 }