azuredevops_serviceendpoint_azuredevops

Manages an Azure DevOps service endpoint within Azure DevOps.

Example Usage

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

resource "azuredevops_serviceendpoint_azuredevops" "example" {
  project_id            = azuredevops_project.example.id
  service_endpoint_name = "Example Azure DevOps"
  org_url               = "https://dev.azure.com/testorganization"
  release_api_url       = "https://vsrm.dev.azure.com/testorganization"
  personal_access_token = "0000000000000000000000000000000000000000000000000000"
  description           = "Managed by Terraform"
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Import

Azure DevOps Service Endpoint Azure DevOps can be imported using projectID/serviceEndpointID or projectName/serviceEndpointID

terraform import azuredevops_serviceendpoint_azuredevops.example 00000000-0000-0000-0000-000000000000/00000000-0000-0000-0000-000000000000