diff --git a/configs/configupgrade/upgrade_expr.go b/configs/configupgrade/upgrade_expr.go index 8ff8bb51c..d568e8db6 100644 --- a/configs/configupgrade/upgrade_expr.go +++ b/configs/configupgrade/upgrade_expr.go @@ -55,6 +55,7 @@ Value: Detail: fmt.Sprintf("Interpolation parsing failed: %s", err), Subject: hcl1PosRange(filename, tv.Pos).Ptr(), }) + return nil, diags } interpSrc, interpDiags := upgradeExpr(hilNode, filename, interp, an)