Skip to content

Commit

Permalink
grafana_team: Document import (#1052)
Browse files Browse the repository at this point in the history
Closes #1047
  • Loading branch information
julienduchesne authored Sep 25, 2023
1 parent 5e40cb3 commit 77c2ce2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/resources/team.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,12 @@ Optional:
Optional:

- `groups` (Set of String)

## Import

Import is supported using the following syntax:

```shell
terraform import grafana_team.team_name {{team_id}} # To use the default provider org
terraform import grafana_team.team_name {{org_id}}:{{team_id}} # When "org_id" is set on the resource
```
2 changes: 2 additions & 0 deletions examples/resources/grafana_team/import.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
terraform import grafana_team.team_name {{team_id}} # To use the default provider org
terraform import grafana_team.team_name {{org_id}}:{{team_id}} # When "org_id" is set on the resource

0 comments on commit 77c2ce2

Please sign in to comment.