]>
Commit | Line | Data |
---|---|---|
bae9f6d2 JC |
1 | package terraform |
2 | ||
107c1cdb ND |
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 | } | |
bae9f6d2 JC |
12 | |
13 | func (n *NodeCountBoundary) Name() string { | |
107c1cdb | 14 | return "meta.count-boundary (EachMode fixup)" |
bae9f6d2 JC |
15 | } |
16 | ||
17 | // GraphNodeEvalable | |
18 | func (n *NodeCountBoundary) EvalTree() EvalNode { | |
107c1cdb ND |
19 | return &EvalCountFixZeroOneBoundaryGlobal{ |
20 | Config: n.Config, | |
21 | } | |
bae9f6d2 | 22 | } |