github.com/nathanielks/terraform@v0.6.1-0.20170509030759-13e1a62319dc/website/source/docs/providers/gitlab/r/project.html.markdown (about) 1 --- 2 layout: "gitlab" 3 page_title: "GitLab: gitlab_project" 4 sidebar_current: "docs-gitlab-resource-project" 5 description: |- 6 Creates and manages projects within Github organizations 7 --- 8 9 # gitlab\_project 10 11 This resource allows you to create and manage projects within your 12 GitLab organization. 13 14 15 ## Example Usage 16 17 ```hcl 18 resource "gitlab_repository" "example" { 19 name = "example" 20 description = "My awesome codebase" 21 22 visbility_level = "public" 23 } 24 ``` 25 26 ## Argument Reference 27 28 The following arguments are supported: 29 30 * `name` - (Required) The name of the project. 31 32 * `description` - (Optional) A description of the project. 33 34 * `default_branch` - (Optional) The default branch for the project. 35 36 * `issues_enabled` - (Optional) Enable issue tracking for the project. 37 38 * `merge_requests_enabled` - (Optional) Enable merge requests for the project. 39 40 * `wiki_enabled` - (Optional) Enable wiki for the project. 41 42 * `snippets_enabled` - (Optional) Enable snippets for the project. 43 44 * `visbility_level` - (Optional) Set to `public` to create a public project. 45 Valid values are `private`, `internal`, `public`. 46 Repositories are created as private by default. 47 48 ## Attributes Reference 49 50 The following additional attributes are exported: 51 52 * `ssh_url_to_repo` - URL that can be provided to `git clone` to clone the 53 repository via SSH. 54 55 * `http_url_to_repo` - URL that can be provided to `git clone` to clone the 56 repository via HTTP. 57 58 * `web_url` - URL that can be used to find the project in a browser.