# linear_teams (Data Source)

Lists every Linear team in the workspace.

## Example Usage

```terraform
data "linear_teams" "all" {}

output "team_keys" {
  value = [for t in data.linear_teams.all.teams : t.key]
}
```

<!-- schema generated by tfplugindocs -->
## Schema

### Read-Only

- `teams` (Attributes List) The teams, as Linear returns them. (see [below for nested schema](#nestedatt--teams))

<a id="nestedatt--teams"></a>
### Nested Schema for `teams`

Read-Only:

- `color` (String) Colour of the team as a hex string.
- `cycles_enabled` (Boolean) Whether Linear generates cycles for the team.
- `description` (String) Description of the team.
- `icon` (String) Icon of the team.
- `id` (String) UUID of the team.
- `key` (String) Team key — the issue identifier prefix, e.g. `ENG`.
- `name` (String) Name of the team.
- `parent_id` (String) UUID of the parent team, if the team nests under one.
- `private` (Boolean) Whether the team is private.
- `timezone` (String) Timezone the team's cycles and SLAs are computed in.
- `triage_enabled` (Boolean) Whether the team has a triage inbox.