FEATURES OPEN SOURCE ABOUT DOCS LOGIN REGISTER

bitbucket_hook

Provides a Bitbucket hook resource.

This allows you to manage your webhooks on a repository.

Example Usage

# Manage your respositories hooks
resource "bitbucket_hook" "deploy_on_push" {
    owner = "myteam"
    repository = "terraform-code"
    url = "https://mywebhookservice.mycompany.com/deploy-on-push"
    description = "Deploy the code via my webhook"
    events = [
        "repo:push"
    ]
}

Argument Reference

The following arguments are supported:


See the source of this document at Terraform.io