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

linear_team_membership

Manages the membership of a user in a Linear team, including whether they own it. Destroying the resource removes the user from the team; it does not deactivate the user.

linear_team_membership (Resource)

Manages the membership of a user in a Linear team, including whether they own it.

Destroying the resource removes the user from the team; it does not deactivate the user.

Example Usage

data "linear_user" "alice" {
  email = "alice@example.com"
}

resource "linear_team_membership" "alice_engineering" {
  team_id = linear_team.engineering.id
  user_id = data.linear_user.alice.id
  owner   = true
}

Schema

Required

  • team_id (String) UUID of the team. Changing it replaces the membership.
  • user_id (String) UUID of the user. Changing it replaces the membership.

Optional

  • owner (Boolean) Whether the user owns the team — team owners may change its settings.
  • sort_order (Number) Sort position of the team in the user's sidebar.

Read-Only

  • id (String) UUID of the membership.

Import

Import is supported using the following syntax:

The terraform import command can be used, for example:

# Import by UUID.
terraform import linear_team_membership.example a1b2c3d4-0000-0000-0000-000000000000
¿Le ha resultado útil esta página?