Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/antmelekhin/terraform-gitlab-project

A Terraform module to manage GitLab Projects.
https://github.com/antmelekhin/terraform-gitlab-project

gitlab gitlab-project iac terraform terraform-module

Last synced: 2 days ago
JSON representation

A Terraform module to manage GitLab Projects.

Awesome Lists containing this project

README

        

# GitLab project module

This module manages GitLab projects.

## Requirements

| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 0.13 |
| [gitlab](#requirement\_gitlab) | >= 17.5.0 |

## Providers

| Name | Version |
|------|---------|
| [gitlab](#provider\_gitlab) | >= 17.5.0 |

## Modules

No modules.

## Resources

| Name | Type |
|------|------|
| [gitlab_project.this](https://registry.terraform.io/providers/gitlabhq/gitlab/latest/docs/resources/project) | resource |

## Inputs

| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [name](#input\_name) | The name of the project. | `string` | n/a | yes |
| [archive\_on\_destroy](#input\_archive\_on\_destroy) | Set to `true` to archive the project instead of deleting on destroy. | `bool` | `false` | no |
| [archived](#input\_archived) | Whether the project is in read-only mode (archived). | `bool` | `false` | no |
| [description](#input\_description) | A description of the project. | `string` | `null` | no |
| [namespace\_id](#input\_namespace\_id) | The namespace (group or user) of the project. Defaults to your user. | `number` | `null` | no |
| [path](#input\_path) | The path of the repository. | `string` | `null` | no |
| [topics](#input\_topics) | The list of topics for the project. | `set(string)` | `[]` | no |
| [visibility\_level](#input\_visibility\_level) | Set to `public` to create a public project. Valid values are `private`, `internal`, `public`. | `string` | `"private"` | no |

## Outputs

| Name | Description |
|------|-------------|
| [http\_url\_to\_repo](#output\_http\_url\_to\_repo) | URL that can be provided to `git clone` to clone the repository via HTTPS. |
| [id](#output\_id) | The ID of this resource. |
| [name](#output\_name) | The name of the project. |
| [path\_with\_namespace](#output\_path\_with\_namespace) | The path of the repository with namespace. |
| [ssh\_url\_to\_repo](#output\_ssh\_url\_to\_repo) | URL that can be provided to `git clone` to clone the repository via SSH. |
| [web\_url](#output\_web\_url) | URL that can be used to find the project in a browser. |