3 import "github.com/hashicorp/terraform/config"
5 // EvalInterpolate is an EvalNode implementation that takes a raw
6 // configuration and interpolates it.
7 type EvalInterpolate struct {
8 Config *config.RawConfig
10 Output **ResourceConfig
13 func (n *EvalInterpolate) Eval(ctx EvalContext) (interface{}, error) {
14 rc, err := ctx.Interpolate(n.Config, n.Resource)