]> git.immae.eu Git - github/fretlink/terraform-provider-statuscake.git/blob - vendor/github.com/hashicorp/terraform/terraform/node_count_boundary.go
Upgrade to 0.12
[github/fretlink/terraform-provider-statuscake.git] / vendor / github.com / hashicorp / terraform / terraform / node_count_boundary.go
1 package terraform
2
3 import (
4 "github.com/hashicorp/terraform/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 }