Skip to content

Files

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Latest commit

bd5fbd1 · Jul 25, 2024

History

History
99 lines (62 loc) · 2.69 KB

File metadata and controls

99 lines (62 loc) · 2.69 KB
page_title subcategory description
coderd_template Resource - coderd
A Coder template

coderd_template (Resource)

A Coder template

Schema

Required

Optional

  • allow_user_auto_start (Boolean)
  • allow_user_auto_stop (Boolean)
  • description (String) A description of the template.
  • display_name (String) The display name of the template. Defaults to the template name.
  • icon (String) Relative path or external URL that specifes an icon to be displayed in the dashboard.
  • organization_id (String) The ID of the organization. Defaults to the provider's default organization

Read-Only

  • id (String) The ID of the template.

Nested Schema for acl

Required:

Nested Schema for acl.groups

Required:

  • id (String)
  • role (String)

Nested Schema for acl.users

Required:

  • id (String)
  • role (String)

Nested Schema for versions

Required:

  • directory (String) A path to the directory to create the template version from. Changes in the directory contents will trigger the creation of a new template version.

Optional:

  • active (Boolean) Whether this version is the active version of the template. Only one version can be active at a time.
  • message (String) A message describing the changes in this version of the template. Messages longer than 72 characters will be truncated.
  • name (String) The name of the template version. Automatically generated if not provided.
  • provisioner_tags (Attributes Set) Provisioner tags for the template version. (see below for nested schema)
  • tf_vars (Attributes Set) Terraform variables for the template version. (see below for nested schema)

Read-Only:

  • directory_hash (String)
  • id (String)

Nested Schema for versions.provisioner_tags

Required:

  • name (String)
  • value (String)

Nested Schema for versions.tf_vars

Required:

  • name (String)
  • value (String)