Saltar al contenido
duxt
Esta página aún no está disponible en tu idioma
La estás leyendo en English (UK).

linear Provider

Manage Linear https://linear.app workspace configuration — teams, labels, workflow states, views, git automation, webhooks and workspace settings — as code. An API key is scoped to a single workspace, so managing several workspaces needs one aliased provider per workspace.

linear Provider

Manage Linear workspace configuration — teams, labels, workflow states, views, git automation, webhooks and workspace settings — as code. An API key is scoped to a single workspace, so managing several workspaces needs one aliased provider per workspace.

Example Usage

terraform {
  required_providers {
    linear = {
      source = "kirchdev/linear"
    }
  }
}

variable "linear_token" {
  type      = string
  sensitive = true
}

# A Linear API key is scoped to a single workspace, so managing several
# workspaces means one aliased provider per workspace.
provider "linear" {
  token = var.linear_token
}

Schema

Optional

  • endpoint (String) URL of the Linear GraphQL API. Defaults to https://api.linear.app/graphql. May also be set via LINEAR_ENDPOINT (mainly for testing).
  • token (String, Sensitive) Linear API key. Sent verbatim as the Authorization header — Linear expects a personal API key without a Bearer prefix. The key is workspace-scoped. May also be set via the LINEAR_TOKEN environment variable.
¿Le ha resultado útil esta página?