Skip to content

Latest commit

 

History

History
97 lines (73 loc) · 1.49 KB

azuredevops_group.md

File metadata and controls

97 lines (73 loc) · 1.49 KB

azuredevops_group

back

Index

Terraform

terraform {
  required_providers {
    azuredevops = ">= 0.1.3"
  }
}

top

Example Usage

module "azuredevops_group" {
  source = "./modules/azuredevops/d/azuredevops_group"

  # name - (required) is a type of string
  name = null
  # project_id - (optional) is a type of string
  project_id = null
}

top

Variables

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

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

top

Datasource

data "azuredevops_group" "this" {
  # name - (required) is a type of string
  name = var.name
  # project_id - (optional) is a type of string
  project_id = var.project_id
}

top

Outputs

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

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

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

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

output "this" {
  value = azuredevops_group.this
}

top