azuredevops_serviceendpoint_incomingwebhook

Manages an Incoming WebHook service endpoint within Azure DevOps, which can be used as a resource in YAML pipelines to subscribe to a webhook event.

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_incomingwebhook" "example" {
  project_id            = azuredevops_project.example.id
  webhook_name          = "example_webhook"
  secret                = "secret"
  http_header           = "X-Hub-Signature"
  service_endpoint_name = "Example IncomingWebhook"
  description           = "Managed by Terraform"
}

Arguments Reference

The following arguments are supported:

Attributes Reference

In addition to the Arguments listed above - the following Attributes are exported:

Timeouts

The timeouts block allows you to specify timeouts for certain actions:

Import

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

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