gitlab_project_custom_attribute (Resource)

The gitlab_project_custom_attribute resource allows to manage custom attributes for a project.

Upstream API: GitLab REST API docs

Example Usage

resource "gitlab_project_custom_attribute" "attr" {
  project = "42"
  key     = "location"
  value   = "Greenland"
}

Schema

Required

Read-Only

Import

Import is supported using the following syntax:

# You can import a project custom attribute using an id made up of `{project-id}:{key}`, e.g.
terraform import gitlab_project_custom_attribute.attr 42:location