back
terraform {
required_providers {
azuredevops = ">= 0.1.3"
}
}
top
module "azuredevops_projects" {
source = "./modules/azuredevops/d/azuredevops_projects"
# name - (optional) is a type of string
name = null
# state - (optional) is a type of string
state = null
}
top
variable "name" {
description = "(optional)"
type = string
default = null
}
variable "state" {
description = "(optional)"
type = string
default = null
}
top
data "azuredevops_projects" "this" {
# name - (optional) is a type of string
name = var.name
# state - (optional) is a type of string
state = var.state
}
top
output "id" {
description = "returns a string"
value = data.azuredevops_projects.this.id
}
output "projects" {
description = "returns a set of object"
value = data.azuredevops_projects.this.projects
}
output "this" {
value = azuredevops_projects.this
}
top