Skip to content

Latest commit

 

History

History
88 lines (66 loc) · 1.29 KB

azuredevops_projects.md

File metadata and controls

88 lines (66 loc) · 1.29 KB

azuredevops_projects

back

Index

Terraform

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

top

Example Usage

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

Variables

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

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

top

Datasource

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

Outputs

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