Skip to content

Commit 698b49a

Browse files
committed
resource/gitlab_user_custom_attribute: Improve documentation and reference upstream docs
1 parent 6f9db07 commit 698b49a

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

docs/resources/user_custom_attribute.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,15 @@
33
page_title: "gitlab_user_custom_attribute Resource - terraform-provider-gitlab"
44
subcategory: ""
55
description: |-
6-
This resource allows you to set custom attributes for a user.
6+
The gitlab_user_custom_attribute resource allows to manage custom attributes for a user.
7+
Upstream API: GitLab REST API docs https://docs.gitlab.com/ee/api/custom_attributes.html
78
---
89

910
# gitlab_user_custom_attribute (Resource)
1011

11-
This resource allows you to set custom attributes for a user.
12+
The `gitlab_user_custom_attribute` resource allows to manage custom attributes for a user.
13+
14+
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/custom_attributes.html)
1215

1316
## Example Usage
1417

internal/provider/resource_gitlab_user_custom_attribute.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ var _ = registerResource("gitlab_user_custom_attribute", func() *schema.Resource
1717
func(client *gitlab.Client) CustomAttributeDeleter {
1818
return client.CustomAttribute.DeleteCustomUserAttribute
1919
},
20-
"This resource allows you to set custom attributes for a user.",
20+
`The `+"`gitlab_user_custom_attribute`"+` resource allows to manage custom attributes for a user.
21+
22+
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/custom_attributes.html)`,
2123
)
2224
})

0 commit comments

Comments
 (0)