Skip to content

Latest commit

 

History

History
59 lines (46 loc) · 2.24 KB

File metadata and controls

59 lines (46 loc) · 2.24 KB
page_title subcategory description
gitlab_group_hook Data Source - terraform-provider-gitlab
The gitlab_group_hook data source allows to retrieve details about a hook in a group. Upstream API: GitLab REST API docs https://docs.gitlab.com/ee/api/groups.html#get-group-hook

gitlab_group_hook (Data Source)

The gitlab_group_hook data source allows to retrieve details about a hook in a group.

Upstream API: GitLab REST API docs

Example Usage

data "gitlab_group" "example" {
  id = "foo/bar/baz"
}

data "gitlab_group_hook" "example" {
  group   = data.gitlab_group.example.id
  hook_id = 1
}

Schema

Required

  • group (String) The ID or full path of the group.
  • hook_id (Number) The id of the group hook.

Read-Only

  • confidential_issues_events (Boolean) Invoke the hook for confidential issues events.
  • confidential_note_events (Boolean) Invoke the hook for confidential notes events.
  • deployment_events (Boolean) Invoke the hook for deployment events.
  • enable_ssl_verification (Boolean) Enable ssl verification when invoking the hook.
  • group_id (Number) The id of the group for the hook.
  • id (String) The ID of this resource.
  • issues_events (Boolean) Invoke the hook for issues events.
  • job_events (Boolean) Invoke the hook for job events.
  • merge_requests_events (Boolean) Invoke the hook for merge requests.
  • note_events (Boolean) Invoke the hook for notes events.
  • pipeline_events (Boolean) Invoke the hook for pipeline events.
  • push_events (Boolean) Invoke the hook for push events.
  • push_events_branch_filter (String) Invoke the hook for push events on matching branches only.
  • releases_events (Boolean) Invoke the hook for releases events.
  • subgroup_events (Boolean) Invoke the hook for subgroup events.
  • tag_push_events (Boolean) Invoke the hook for tag push events.
  • token (String) A token to present when invoking the hook. The token is not available for imported resources.
  • url (String) The url of the hook to invoke.
  • wiki_page_events (Boolean) Invoke the hook for wiki page events.