back
terraform {
required_providers {
azuredevops = ">= 0.1.3"
}
}
top
module "azuredevops_agent_pool" {
source = "./modules/azuredevops/d/azuredevops_agent_pool"
# name - (required) is a type of string
name = null
}
top
variable "name" {
description = "(required)"
type = string
}
top
data "azuredevops_agent_pool" "this" {
# name - (required) is a type of string
name = var.name
}
top
output "auto_provision" {
description = "returns a bool"
value = data.azuredevops_agent_pool.this.auto_provision
}
output "id" {
description = "returns a string"
value = data.azuredevops_agent_pool.this.id
}
output "pool_type" {
description = "returns a string"
value = data.azuredevops_agent_pool.this.pool_type
}
output "this" {
value = azuredevops_agent_pool.this
}
top