back
terraform {
required_providers {
azuredevops = ">= 0.1.3"
}
}
top
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
variable "name" {
description = "(required)"
type = string
}
variable "project_id" {
description = "(optional)"
type = string
default = null
}
top
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
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