mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-27 09:21:14 -06:00
14 lines
313 B
Go
14 lines
313 B
Go
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
|
|
}
|