gitlab_user_custom_attribute (Resource)

The gitlab_user_custom_attribute resource allows to manage custom attributes for a user.

Upstream API: GitLab REST API docs

Example Usage

resource "gitlab_user_custom_attribute" "attr" {
  user  = "42"
  key   = "location"
  value = "Greenland"
}

Schema

Required

Read-Only

Import

Import is supported using the following syntax:

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