» gitlab_project
Provides details about a specific project in the gitlab provider. The results include the name of the project, path, description, default branch, etc.
» Example Usage
data "gitlab_project" "example" {
id = 30
}
» Argument Reference
The following arguments are supported:
-
id
- (Required) The integer that uniquely identifies the project within the gitlab install.
» Attributes Reference
The following attributes are exported:
-
path
- The path of the repository. -
namespace_id
- The namespace (group or user) of the project. Defaults to your user. Seegitlab_group
for an example. -
description
- A description of the project. -
default_branch
- The default branch for the project. -
issues_enabled
- Enable issue tracking for the project. -
merge_requests_enabled
- Enable merge requests for the project. -
wiki_enabled
- Enable wiki for the project. -
snippets_enabled
- Enable snippets for the project. -
visibility_level
- Repositories are created as private by default. -
id
- Integer that uniquely identifies the project within the gitlab install. -
ssh_url_to_repo
- URL that can be provided togit clone
to clone the repository via SSH. -
http_url_to_repo
- URL that can be provided togit clone
to clone the repository via HTTP. -
web_url
- URL that can be used to find the project in a browser. -
runners_token
- Registration token to use during runner setup.