grafana_team_external_group (Resource)

Equivalent to the the team_sync attribute of the grafana_team resource. Use one or the other to configure a team's external groups syncing config.

Example Usage

resource "grafana_team" "my_team" {
  name = "My Team"
}

resource "grafana_team_external_group" "test-team-group" {
  team_id = grafana_team.my_team.id
  groups = [
    "test-group-1",
    "test-group-2"
  ]
}

Schema

Required

Read-Only

Import

Import is supported using the following syntax:

terraform import grafana_team_external_group.name "{{ teamID }}"
terraform import grafana_team_external_group.name "{{ orgID }}:{{ teamID }}"