| layout | page_title | description |
|---|---|---|
azuredevops |
AzureDevops: azuredevops_project |
Use this data source to access information about an existing Project within Azure DevOps. |
Use this data source to access information about an existing Project within Azure DevOps.
data "azuredevops_project" "p" {
name = "Sample Project"
}
output "id" {
value = data.azuredevops_project.p.id
}
output "name" {
value = data.azuredevops_project.p.name
}
output "visibility" {
value = data.azuredevops_project.p.visibility
}
output "version_control" {
value = data.azuredevops_project.p.version_control
}
output "work_item_template" {
value = data.azuredevops_project.p.work_item_template
}
output "process_template_id" {
value = data.azuredevops_project.p.process_template_id
}The following arguments are supported:
name- (Required ifproject_idnot set) Name of the Project.project_id- (Required ifnamenot set) ID of the Project.
The following attributes are exported:
name - The name of the referenced project
description - The description of the referenced project
visibility - The visibility of the referenced project
version_control - The version control of the referenced project
work_item_template - The work item template for the referenced project
process_template_id - The process template ID for the referenced project