Files
terraform-provider-bitbucke…/docs/resources/bitbucketserver_project_hook.md
Gavin Bunney 0b0d03cda2 Port to GitHub actions & publish to Terraform registry (#39)
* Port to GitHub actions

* Fix

* Make docs terraform registry compatible
2021-07-14 17:47:45 -07:00

19 lines
649 B
Markdown

# Resource: bitbucketserver_project_hook
Manage a project level hook. Extends what Bitbucket does every time a repository changes, for example when code is pushed or a pull request is merged.
## Example Usage
```hcl
resource "bitbucketserver_project_hook" "main" {
project = "MYPROJ"
hook = "com.atlassian.bitbucket.server.bitbucket-bundled-hooks:force-push-hook"
}
```
## Argument Reference
* `project` - Required. Project Key the hook to enable is for.
* `hook` - Required. The hook to enable on the project.
* `settings` - Optional. Map of values to apply as settings for the hook. Contents dependant on the individual hook settings.