Skip to content

Commit f83b2c6

Browse files
committed
resource/gitlab_service_slack: Improve documentation and reference upstream docs
1 parent d1a3bc5 commit f83b2c6

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

docs/resources/service_slack.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,15 @@
33
page_title: "gitlab_service_slack Resource - terraform-provider-gitlab"
44
subcategory: ""
55
description: |-
6-
This resource allows you to manage Slack notifications integration.
6+
The gitlab_service_slack resource allows to manage the lifecycle of a project integration with Slack.
7+
Upstream API: GitLab REST API docs https://docs.gitlab.com/ee/api/integrations.html#slack-notifications
78
---
89

910
# gitlab_service_slack (Resource)
1011

11-
This resource allows you to manage Slack notifications integration.
12+
The `gitlab_service_slack` resource allows to manage the lifecycle of a project integration with Slack.
13+
14+
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/integrations.html#slack-notifications)
1215

1316
## Example Usage
1417

internal/provider/resource_gitlab_service_slack.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ import (
1111

1212
var _ = registerResource("gitlab_service_slack", func() *schema.Resource {
1313
return &schema.Resource{
14-
Description: "This resource allows you to manage Slack notifications integration.",
14+
Description: `The ` + "`gitlab_service_slack`" + ` resource allows to manage the lifecycle of a project integration with Slack.
15+
16+
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/integrations.html#slack-notifications)`,
1517

1618
CreateContext: resourceGitlabServiceSlackCreate,
1719
ReadContext: resourceGitlabServiceSlackRead,

0 commit comments

Comments
 (0)