opentofu/terraform/eval_resource.go

14 lines
313 B
Go
Raw Normal View History

2015-02-11 15:43:07 -06:00
package terraform
// EvalInstanceInfo is an EvalNode implementation that fills in the
// InstanceInfo as much as it can.
type EvalInstanceInfo struct {
Info *InstanceInfo
}
// TODO: test
2015-02-14 00:58:41 -06:00
func (n *EvalInstanceInfo) Eval(ctx EvalContext) (interface{}, error) {
2015-02-11 15:43:07 -06:00
n.Info.ModulePath = ctx.Path()
return nil, nil
}