Manages a generic service endpoint within Azure DevOps, which can be used to authenticate to any external server using basic authentication via a username and password.
resource "azuredevops_project" "example" {
name = "Example Project"
visibility = "private"
version_control = "Git"
work_item_template = "Agile"
description = "Managed by Terraform"
}
resource "azuredevops_serviceendpoint_generic" "example" {
project_id = azuredevops_project.example.id
server_url = "https://some-server.example.com"
username = "username"
password = "password"
service_endpoint_name = "Example Generic"
description = "Managed by Terraform"
}
The following arguments are supported:
project_id
- (Required) The ID of the project.service_endpoint_name
- (Required) The service endpoint name.server_url
- (Required) The URL of the server associated with the service endpoint.username
- (Optional) The username used to authenticate to the server url using basic authentication.password
- (Optional) The password or token key used to authenticate to the server url using basic authentication.description
- (Optional) The Service Endpoint description. Defaults to Managed by Terraform
.The following attributes are exported:
id
- The ID of the service endpoint.project_id
- The ID of the project.service_endpoint_name
- The name of the service endpoint.Azure DevOps Service Endpoint Generic can be imported using projectID/serviceEndpointID or projectName/serviceEndpointID
terraform import azuredevops_serviceendpoint_generic.example 00000000-0000-0000-0000-000000000000/00000000-0000-0000-0000-000000000000