layout | page_title | description |
---|---|---|
azuredevops |
AzureDevops: azuredevops_serviceendpoint_bitbucket |
Manages a Bitbucket service endpoint within Azure DevOps organization. |
Manages a Bitbucket service endpoint within Azure DevOps.
resource "azuredevops_project" "project" {
project_name = "Sample Project"
visibility = "private"
version_control = "Git"
work_item_template = "Agile"
}
resource "azuredevops_serviceendpoint_bitbucket" "serviceendpoint" {
project_id = azuredevops_project.project.id
username = "xxxx"
password = "xxxx"
service_endpoint_name = "test-bitbucket"
description = "test"
}
The following arguments are supported:
project_id
- (Required) The project ID or project name.service_endpoint_name
- (Required) The Service Endpoint name.username
- (Required) Bitbucket account username.password
- (Required) Bitbucket account password.description
- (Optional) The Service Endpoint description. Defaults toManaged by Terraform
.
The following attributes are exported:
id
- The ID of the service endpoint.project_id
- The project ID or project name.service_endpoint_name
- The Service Endpoint name.
Azure DevOps Service Endpoint Bitbucket can be imported using the projectID/serviceEndpointID, e.g.
terraform import azuredevops_serviceendpoint_bitbucket.serviceendpoint xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx