Skip to content

CoderTemplateVersion

API identity

  • Group/version: aggregation.coder.com/v1alpha1
  • Kind: CoderTemplateVersion
  • Resource: codertemplateversions
  • Scope: namespaced

Spec

Field Type Description
organization string Organization is the canonical name of the organization that owns the template.
templateName string TemplateName is the canonical name of the template.
message string Message is the message that was given when the version was created.

Status

Field Type Description
id string ID is the Coder template version ID.
templateID string TemplateID is the Coder ID of the template that owns the version.
active boolean Active is true when this version is the active version of its template.
archived boolean Archived is true when the version is archived in Coder.
createdBy string CreatedBy is the Coder username of the user who created the version.
updatedAt Time UpdatedAt is when Coder last updated the version.
job CoderTemplateVersionJob Job summarizes the import job of the version.

Referenced types

CoderTemplateVersionJob

CoderTemplateVersionJob summarizes the import job of a template version. The job error text is not exposed: Terraform output can contain secrets.

Field Type Description
status string Status is the Coder provisioner job status, for example succeeded or failed.
errorCode string ErrorCode is the Coder job error code, if the job failed with one.
startedAt Time StartedAt is when the import job started.
completedAt Time CompletedAt is when the import job completed.

Source

  • Go type: api/aggregation/v1alpha1/types.go
  • APIService registration manifest: deploy/apiserver-apiservice.yaml