layout | page_title | description |
---|---|---|
azuredevops |
AzureDevops: azuredevops_project_features |
Manages features for Azure DevOps projects. |
Manages features for Azure DevOps projects
provider "azuredevops" {
version = ">= 0.0.1"
}
data "azuredevops_project" "tf-project-test-001" {
name = "Test Project"
}
resource "azuredevops_project_features" "my-project-features" {
project_id = data.azuredevops_project.tf-project-test-001.id
features = {
"testplans" = "disabled"
"artifacts" = "enabled"
}
}
The following arguments are supported:
projectd_id
- (Required) Theid
of the project for which the project features will be managed.features
- (Required) Defines the status (enabled
,disabled
) of the project features.
Valid featuresboards
,repositories
,pipelines
,testplans
,artifacts
NOTE:
It's possible to define project features both within theazuredevops_project_features
resource and via thefeatures
block by using theazuredevops_project
resource. However it's not possible to use both methods to manage group members, since there'll be conflicts.
No attributes are exported
No official documentation available
Azure DevOps feature settings can be imported using the project id, e.g.
terraform import azuredevops_project_features.project_id 2785562e-8f45-4534-a10e-b9ca1666b17e
- Project & Team: Read, Write, & Manage