Skip to content

Latest commit

 

History

History
102 lines (76 loc) · 1.49 KB

File metadata and controls

102 lines (76 loc) · 1.49 KB

github_team

back

Index

Terraform

terraform {
  required_providers {
    github = ">= 4.6.0"
  }
}

top

Example Usage

module "github_team" {
  source = "./modules/github/d/github_team"

  # slug - (required) is a type of string
  slug = null
}

top

Variables

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

top

Datasource

data "github_team" "this" {
  # slug - (required) is a type of string
  slug = var.slug
}

top

Outputs

output "description" {
  description = "returns a string"
  value       = data.github_team.this.description
}

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

output "members" {
  description = "returns a list of string"
  value       = data.github_team.this.members
}

output "name" {
  description = "returns a string"
  value       = data.github_team.this.name
}

output "node_id" {
  description = "returns a string"
  value       = data.github_team.this.node_id
}

output "permission" {
  description = "returns a string"
  value       = data.github_team.this.permission
}

output "privacy" {
  description = "returns a string"
  value       = data.github_team.this.privacy
}

output "this" {
  value = github_team.this
}

top