azuredevops_environment

Manages an Environment.

Example Usage

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

resource "azuredevops_environment" "example" {
  project_id = azuredevops_project.example.id
  name       = "Example Environment"
}

Arguments Reference

The following arguments are supported:


Attributes Reference

In addition to the Arguments listed above - the following Attributes are exported:

Import

Azure DevOps Environments can be imported using the project ID and environment ID, e.g.:

terraform import azuredevops_environment.example 00000000-0000-0000-0000-000000000000/0