Skip to content

Instantly share code, notes, and snippets.

@goyalmohit
Created September 10, 2020 13:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save goyalmohit/10b2f2402ac8239e7b7e416072a2799a to your computer and use it in GitHub Desktop.
Save goyalmohit/10b2f2402ac8239e7b7e416072a2799a to your computer and use it in GitHub Desktop.
provider "azuredevops" {
version = ">= 0.0.1"
}
resource "azuredevops_project" "tf-example" {
project_name = "tf-example"
description = "Project deployed using Terraform"
version_control = "git"
visibility = "private"
work_item_template = "Agile"
}
resource "azuredevops_project_features" "tf-example-features" {
project_id = azuredevops_project.tf-example.id
features = {
"boards" = "enabled"
"repositories" = "enabled"
"pipelines" = "enabled"
"testplans" = "disabled"
"artifacts" = "enabled"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment