in setuptest/initplanshow.go [36:44]
func (dtv DirTypeWithVars) InitPlanShowWithPrepFunc(t *testing.T, f PrepFunc) (Response, error) {
resp, err := setup(t, dtv.RootDir, dtv.TestDir, f)
if err != nil {
return resp, err
}
resp.Options.Vars = dtv.Vars
resp.PlanStruct, err = terraform.InitAndPlanAndShowWithStructE(t, resp.Options)
return resp, err
}