Skip to content

Commit

Permalink
feat: add team members
Browse files Browse the repository at this point in the history
  • Loading branch information
KoLiBer committed Sep 10, 2024
1 parent 6e3254c commit d6bbcb5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions teams.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ resource "grafana_team" "this" {
org_id = local.org_id
name = each.value.name
email = each.value.email
members = each.value.members
ignore_externally_synced_members = true
}
5 changes: 3 additions & 2 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,9 @@ variable "members" {

variable "teams" {
type = map(object({
name = string
email = optional(string)
name = string
email = optional(string)
members = optional(list(string), [])
}))
default = {}
sensitive = false
Expand Down

0 comments on commit d6bbcb5

Please sign in to comment.