Gitlab Functions
Functions
The gitlab.Application
data source retrieves information about a gitlab application. Upstream API: GitLab REST API docs
The gitlab.Branch
data source allows details of a repository branch to be retrieved by its name and project. Upstream API: GitLab REST API docs
The gitlab.ClusterAgent
data source allows to retrieve details about a GitLab Agent for Kubernetes. Upstream API: GitLab REST API docs
The gitlab.getClusterAgents
data source allows details of GitLab Agents for Kubernetes in a project. Upstream API: GitLab REST API docs
The gitlab.ComplianceFramework
data source allows details of a compliance framework to be retrieved by its name and the namespace it belongs to. Upstream API: GitLab GraphQL API docs
The gitlab.getCurrentUser
data source allows details of the current user (determined by token
provider attribute) to be retrieved. Upstream API: GitLab GraphQL API docs
The gitlab.Group
data source allows details of a group to be retrieved by its id or full path. Upstream API: GitLab REST API docs
The gitlab_access_tokens
data source allows to retrieve all group-level access tokens. Upstream API: GitLab REST API docs
The gitlab.getGroupBillableMemberMemberships
data source allows (sub)group- and project-memberships of a billable member of a group to be retrieved by either the user ID, username or email address.
The gitlab.GroupHook
data source allows to retrieve details about a hook in a group. Upstream API: GitLab REST API docs
The gitlab.getGroupHooks
data source allows to retrieve details about hooks in a group. Upstream API: GitLab REST API docs
The gitlab.getGroupIds
data source identification information for a given group, allowing a user to translate a full path or ID into the GraphQL ID of the group. Upstream API: GitLab GraphQL API docs
The gitlab.GroupMembership
data source allows to list and filter all members of a group specified by either its id or full path. Upstream API: GitLab REST API docs
The gitlab.getGroupProvisionedUsers
data source allows details of the provisioned users of a given group. Upstream API: GitLab REST API docs
The gitlab.getGroups
data source allows details of multiple groups to be retrieved given some optional filter criteria.
The gitlab.GroupServiceAccount
data source retrieves information about a gitlab service account for a group. Upstream API: GitLab REST API docs
The gitlab.getGroupSubgroups
data source allows to get subgroups of a group. Upstream API: GitLab REST API docs
The gitlab.GroupVariable
data source allows to retrieve details about a group-level CI/CD variable. Upstream API: GitLab REST API docs
The gitlab.getGroupVariables
data source allows to retrieve all group-level CI/CD variables. Upstream API: GitLab REST API docs
The gitlab.getInstanceDeployKeys
data source allows to retrieve a list of deploy keys for a GitLab instance.
The gitlab.InstanceServiceAccount
data source retrieves information about a gitlab service account.
The gitlab.InstanceVariable
data source allows to retrieve details about an instance-level CI/CD variable. Upstream API: GitLab REST API docs
The gitlab.getInstanceVariables
data source allows to retrieve all instance-level CI/CD variables. Upstream API: GitLab REST API docs
The gitlab.getMetadata
data source retrieves the metadata of the GitLab instance. Upstream API: GitLab REST API docs
The gitlab.PipelineSchedule
data source retrieves information about a gitlab pipeline schedule for a project. Upstream API: GitLab REST API docs
The gitlab.PipelineSchedule
data source retrieves information about a gitlab pipeline schedule for a project. Upstream API: GitLab REST API docs
The gitlab.Project
data source allows details of a project to be retrieved by either its ID or its path with namespace. Upstream API: GitLab REST API docs
The gitlab.getProjectBranches
data source allows details of the branches of a given project to be retrieved. Upstream API: GitLab REST API docs
The gitlab.getProjectEnvironments
data source retrieves information about all environments of the given project. Upstream API: GitLab REST API docs
The gitlab.ProjectHook
data source allows to retrieve details about a hook in a project. Upstream API: GitLab REST API docs
The gitlab.getProjectHooks
data source allows to retrieve details about hooks in a project. Upstream API: GitLab REST API docs
The gitlab.getProjectIds
data source identification information for a given project, allowing a user to translate a full path or ID into the GraphQL ID of the project. Upstream API: GitLab GraphQL API docs
The gitlab.ProjectIssue
data source allows to retrieve details about an issue in a project. Upstream API: GitLab API docs
The gitlab.getProjectIssues
data source allows to retrieve details about issues in a project. Upstream API: GitLab API docs
The gitlab.ProjectMembership
data source allows to list and filter all members of a project specified by either its id or full path.
The gitlab.getProjectMergeRequest
data source retrieves information about a single merge request related to a specific project. Upstream API: GitLab REST API docs
The gitlab.ProjectMilestone
data source allows get details of a project milestone. Upstream API: GitLab REST API docs
The gitlab.getProjectMilestones
data source allows get details of a project milestones. Upstream API: GitLab REST API docs
The gitlab.getProjectMirrorPublicKey
data source allows the public key of a project mirror to be retrieved by its mirror id and the project it belongs to. Note: Supported on GitLab 17.9 or higher. Upstream API: GitLab REST API docs
The gitlab.getProjectProtectedBranch
data source allows details of a protected branch to be retrieved by its name and the project it belongs to. Upstream API: GitLab REST API docs
The gitlab.getProjectProtectedBranches
data source allows details of the protected branches of a given project. Upstream API: GitLab REST API docs
The gitlab.getProjectProtectedTag
data source allows details of a protected tag to be retrieved by its name and the project it belongs to. Upstream API: GitLab REST API docs
The gitlab.getProjectProtectedTags
data source allows details of the protected tags of a given project. Upstream API: GitLab REST API docs
The gitlab.getProjects
data source allows details of multiple projects to be retrieved. Optionally filtered by the set attributes.
The gitlab.ProjectTag
data source allows details of a project tag to be retrieved by its name. Upstream API: GitLab API docs
The gitlab.getProjectTags
data source allows details of project tags to be retrieved by some search criteria. Upstream API: GitLab REST API docs
The gitlab.ProjectVariable
data source allows to retrieve details about a project-level CI/CD variable. Upstream API: GitLab REST API docs
The gitlab.getProjectVariables
data source allows to retrieve all project-level CI/CD variables. Upstream API: GitLab REST API docs
The gitlab.Release
data source retrieves information about a gitlab release for a project. Upstream API: GitLab REST API docs
The gitlab.ReleaseLink
data source allows get details of a release link. Upstream API: GitLab REST API docs
The gitlab.getReleaseLinks
data source allows get details of release links. Upstream API: GitLab REST API docs
The gitlab.RepositoryFile
data source allows details of a file in a repository to be retrieved. Upstream API: GitLab REST API docs
The gitlab.getRepositoryTree
data source allows details of directories and files in a repository to be retrieved. Upstream API: GitLab REST API docs
The gitlab.getRunners
data source retrieves information about all gitlab runners. Upstream API: GitLab REST API docs
The gitlab.User
data source allows details of a user to be retrieved by either the user ID, username or email address.
The gitlab.getUsers
data source allows details of multiple users to be retrieved given some optional filter criteria.
The gitlab.getUserSshkeys
data source allows a list of SSH keys to be retrieved by either the user ID or username. Upstream API: GitLab REST API docs