azuredevops_project

Manages a project within Azure DevOps.

Example Usage

resource "azuredevops_project" "example" {
  name               = "Example Project"
  visibility         = "private"
  version_control    = "Git"
  work_item_template = "Agile"
  description        = "Managed by Terraform"
  features = {
    "testplans" = "disabled"
    "artifacts" = "disabled"
  }
}

Argument Reference

The following arguments are supported:

NOTE: It's possible to define project features both within the azuredevops_project_features resource and via the features block by using the azuredevops_project resource. However it's not possible to use both methods to manage features, since there'll be conflicts.

Attributes Reference

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

Import

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

terraform import azuredevops_project.example "Example Project"

or

terraform import azuredevops_project.example 00000000-0000-0000-0000-000000000000

PAT Permissions Required