Data Source: azuredevops_environment

Use this data source to access information about 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"
  description = "Managed by Terraform"
}

data "azuredevops_environment" "example" {
  project_id= azuredevops_project.example.id
  environment_id = azuredevops_environment.example.id
}

Arguments Reference

The following arguments are supported:

Attributes Reference

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