Pular para o conteúdo
duxt
Esta página ainda não está disponível no seu idioma
Você está lendo em English (UK).

linear_project_status

Manages a project status in Linear — where a project stands, workspace-wide. Destroying the resource archives the status; Linear has no hard delete for project statuses.

linear_project_status (Resource)

Manages a project status in Linear — where a project stands, workspace-wide.

Destroying the resource archives the status; Linear has no hard delete for project statuses.

Example Usage

resource "linear_project_status" "in_progress" {
  name     = "In Progress"
  color    = "#0f7488"
  type     = "started"
  position = 2
}

resource "linear_project_status" "maintained" {
  name        = "Maintained"
  description = "Shipped and cared for, with no end date"
  color       = "#4cb782"
  type        = "started"
  position    = 3
  indefinite  = true
}

Schema

Required

  • color (String) Colour of the status indicator as a hex string.
  • name (String) Name of the status, e.g. In Progress.
  • position (Number) Sort position of the status within its category.
  • type (String) Category the status belongs to — one of backlog, planned, started, paused, completed, canceled.

Optional

  • description (String) Description of the status.
  • indefinite (Boolean) Whether a project may sit in this status indefinitely, so Linear does not nag for an update.

Read-Only

  • id (String) UUID of the project status.

Import

Import is supported using the following syntax:

The terraform import command can be used, for example:

# Import by UUID.
terraform import linear_project_status.example a1b2c3d4-0000-0000-0000-000000000000
Esta página foi útil?