gitlab_project_branches (Data Source)

The gitlab_project_branches data source allows details of the branches of a given project to be retrieved.

Upstream API: GitLab REST API docs

Example Usage

data "gitlab_project_branches" "example" {
  project = 30
}

data "gitlab_project_branches" "example" {
  project = "foo/bar/baz"
}

Schema

Required

Read-Only

Nested Schema for branches

Read-Only:

Nested Schema for branches.commit

Read-Only: