azuredevops_resource_authorization

Manages authorization of resources, e.g. for access in build pipelines.

Currently supported resources: service endpoint (aka service connection, endpoint).

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_bitbucket" "example" {
  project_id            = azuredevops_project.example.id
  username              = "username"
  password              = "password"
  service_endpoint_name = "example-bitbucket"
  description           = "Managed by Terraform"
}

resource "azuredevops_resource_authorization" "example" {
  project_id  = azuredevops_project.example.id
  resource_id = azuredevops_serviceendpoint_bitbucket.example.id
  authorized  = true
}

Argument Reference

The following arguments are supported:

Attributes Reference

No attributes are exported