Skip to content

Latest commit

 

History

History
97 lines (74 loc) · 1.42 KB

grafana_team.md

File metadata and controls

97 lines (74 loc) · 1.42 KB

grafana_team

back

Index

Terraform

terraform {
  required_providers {
    grafana = ">= 1.9.0"
  }
}

top

Example Usage

module "grafana_team" {
  source = "./modules/grafana/r/grafana_team"

  # email - (optional) is a type of string
  email = null
  # members - (optional) is a type of list of string
  members = []
  # name - (required) is a type of string
  name = null
}

top

Variables

variable "email" {
  description = "(optional)"
  type        = string
  default     = null
}

variable "members" {
  description = "(optional)"
  type        = list(string)
  default     = null
}

variable "name" {
  description = "(required)"
  type        = string
}

top

Resource

resource "grafana_team" "this" {
  # email - (optional) is a type of string
  email = var.email
  # members - (optional) is a type of list of string
  members = var.members
  # name - (required) is a type of string
  name = var.name
}

top

Outputs

output "id" {
  description = "returns a string"
  value       = grafana_team.this.id
}

output "team_id" {
  description = "returns a number"
  value       = grafana_team.this.team_id
}

output "this" {
  value = grafana_team.this
}

top