Skip to content
Terraform provider for Azure DevOps
Go Shell HCL
Branch: master
Clone or download
nmiodice Adding V1 Roadmap document (#111)
* Adding V1 Roadmap document

* Updated language to underscore that the document may change

* Update docs/roadmap.md
Latest commit 96fabc1 Oct 15, 2019

README.md

Terraform Provider for Azure DevOps

Build Status Go Report Card

The AzDO (Azure DevOps) Provider supports Terraform 0.11.x and later - but Terraform 0.12.x is recommended.

Checkout our Project Roadmap.

Important!

This repository is a work in progress and is not yet suitable for production workloads. Community contributions are welcome.

Usage Example

  • Installing the provider
./scripts/build.sh          # build & test provider code
./scripts/local-install.sh  # install provider locally
  • Using the provider
# Make sure to set the following environment variables:
#   AZDO_PERSONAL_ACCESS_TOKEN
#   AZDO_ORG_SERVICE_URL
provider "azuredevops" {
  version = ">= 0.0.1"
}

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

resource "azuredevops_build_definition" "build_definition" {
  project_id      = azuredevops_project.project.id
  name            = "Test Pipeline"
  agent_pool_name = "Hosted Ubuntu 1604"

  repository {
    repo_type             = "GitHub"
    repo_name             = "nmiodice/terraform-azure-devops-hack"
    branch_name           = "master"
    yml_path              = "azdo-api-samples/azure-pipeline.yml"
    service_connection_id = "1a0e1da9-57a6-4470-8e96-160a622c4a17" # Note: Eventually this will come from a GitHub Service Connection resource...  
  }
}

Contributing

Interested in contributing to the provider? Great, we need your help. Get started by reading the contributing document.

You can’t perform that action at this time.