» azuredevops_serviceendpoint_dockerhub

Manages a Docker Registry service endpoint within Azure DevOps.

» Example Usage

resource "azuredevops_project" "project" {
  project_name       = "Sample Project"
  visibility         = "private"
  version_control    = "Git"
  work_item_template = "Agile"
}

# dockerhub registry service connection
resource "azuredevops_serviceendpoint_dockerregistry" "dockerhubregistry" {
    project_id             = azuredevops_project.project.id
    service_endpoint_name  = "Sample Docker Hub"

    docker_username        = "sample"
    docker_email           = "email@example.com" 
    docker_password        = "12345"
    registry_type          = "DockerHub"
}

# other docker registry service connection
resource "azuredevops_serviceendpoint_dockerregistry" "otherregistry" {
    project_id             = azuredevops_project.project.id
    service_endpoint_name  = "Sample Docker Registry"
    docker_registry      = "https://sample.azurecr.io/v1"
    docker_username        = "sample"
    docker_password        = "12345"
    registry_type          = "Others"
}

» Argument Reference

The following arguments are supported:

» Attributes Reference

The following attributes are exported: