Home
/
Command Line
/
templates

templates

Manage templates

Aliases:

  • template

Usage

coder templates

Description

Templates are written in standard Terraform and describe the infrastructure for workspaces
  - Create a template for developers to create workspaces:

     $ coder templates create

  - Make changes to your template, and plan the changes:

     $ coder templates plan my-template

  - Push an update to the template. Your developers can update their workspaces:

     $ coder templates push my-template

Subcommands

NamePurpose
archiveArchive unused or failed template versions from a given template(s)
createCreate a template from the current directory or as specified by flag
deleteDelete templates
editEdit the metadata of a template by name.
initGet started with a templated template.
listList all the templates available for the organization
pullDownload the active, latest, or specified version of a template to a path.
pushPush a new template version from the current directory or as specified by flag
versionsManage different versions of the specified template
See an opportunity to improve our docs? Make an edit.