blob: 5eca6782a6f9aa17dbad2e90969b3ac0fdd061fb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
package terraform
// EvalInstanceInfo is an EvalNode implementation that fills in the
// InstanceInfo as much as it can.
type EvalInstanceInfo struct {
Info *InstanceInfo
}
// TODO: test
func (n *EvalInstanceInfo) Eval(ctx EvalContext) (interface{}, error) {
n.Info.ModulePath = ctx.Path()
return nil, nil
}
|