Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a0f4d58

Browse files
committed
make the warning an error
1 parent 9f947c3 commit a0f4d58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coderd/parameters.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ func (api *API) getWorkspaceOwnerData(
282282
// required.
283283
func parameterProvisionerVersionDiagnostic(tf database.TemplateVersionTerraformValue) hcl.Diagnostics {
284284
missingMetaData := hcl.Diagnostic{
285-
Severity: hcl.DiagWarning,
285+
Severity: hcl.DiagError,
286286
Summary: "This template version is missing required metadata to support dynamic parameters. Go back to the classic creation flow.",
287287
Detail: "To restore full functionality, please re-import the terraform as a new template version.",
288288
}

0 commit comments

Comments
 (0)