azuredevops_project_pipeline_settings

Manages Pipeline Settings for Azure DevOps projects

Example Usage

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

resource "azuredevops_project_pipeline_settings" "example" {
  project_id = azuredevops_project.example.id

  enforce_job_scope = true
  enforce_referenced_repo_scoped_token = false
  enforce_settable_var = true
  publish_pipeline_metadata = false
  status_badges_are_private = true
}

Argument Reference

The following arguments are supported:

NOTE:
The settings at the organization will override settings specified on the project. For example, if enforce_job_scope is true at the organization, the azuredevops_project_pipeline_settings resource cannot set it to false. In this scenario, the plan will always show that the resource is trying to change enforce_job_scope from true to false.

Attributes Reference

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

No official documentation available

Import

Azure DevOps feature settings can be imported using the project id, e.g.

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

PAT Permissions Required