Files
coder/docs/cli/templates.md
Muhammad Atif Ali 531fd23fd2 fix(docs): fix broken markdown links (#7081)
* fix(docs): fix markdown docs links

More than half of them were actually valid links but, due to missing file extensions were flagged as invalid. I added a file extension, so it should pass now.

* Updated docgen to include extension
2023-04-11 15:05:51 -05:00

2.0 KiB

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

Name Purpose
create Create a template from the current directory or as specified by flag
delete Delete templates
edit Edit the metadata of a template by name.
init Get started with a templated template.
list List all the templates available for the organization
plan Plan a template push from the current directory
pull Download the latest version of a template to a path.
push Push a new template version from the current directory or as specified by flag
versions Manage different versions of the specified template