The gitlab_group_custom_attribute
resource allows to manage custom attributes for a group.
Upstream API: GitLab REST API docs
resource "gitlab_group_custom_attribute" "attr" {
group = "42"
key = "location"
value = "Greenland"
}
group
(Number) The id of the group.key
(String) Key for the Custom Attribute.value
(String) Value for the Custom Attribute.id
(String) The ID of this resource.Import is supported using the following syntax:
# You can import a group custom attribute using the an id made up of `{group-id}:{key}`, e.g.
terraform import gitlab_group_custom_attribute.attr 42:location