Skip to content

Latest commit

 

History

History
54 lines (40 loc) · 1.64 KB

project.html.markdown

File metadata and controls

54 lines (40 loc) · 1.64 KB
layout page_title description
azuredevops
AzureDevops: azuredevops_project
Manages a project within Azure DevOps organization.

azuredevops_project

Manages a project within Azure DevOps.

Example Usage

resource "azuredevops_project" "project" {
  project_name       = "Test Project"
  description        = "Test Project Description"
  visibility         = "private"
  version_control    = "Git"
  work_item_template = "Agile"
}

Argument Reference

The following arguments are supported:

  • project_name - (Required) The Project Name.
  • description - (Optional) The Description of the Project.
  • visibility - (Optional) Specifies the visibility of the Project. Valid values: private or public. Defaults to private.
  • version_control - (Optional) Specifies the version control system. Valid values: Git or Tfvc. Defaults to Git.
  • work_item_template - (Optional) Specifies the work item template. Defaults to Agile.

Attributes Reference

In addition to all arguments above, the following attributes are exported:

  • id - The Project ID of the Project.
  • process_template_id - The Process Template ID used by the Project.

Relevant Links

Import

Azure DevOps Projects can be imported using the project name or by the project Guid, e.g.

terraform import azuredevops_project.project "Test Project"
or
terraform import azuredevops_project.project 782a8123-1019-xxxx-xxxx-xxxxxxxx

PAT Permissions Required

  • Project & Team: Read, Write, & Manage