Skip to content

Commit 30812e2

Browse files
committed
PR review: doc wording
1 parent 18c6976 commit 30812e2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/resources/project_access_token.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ resource "gitlab_project_variable" "example" {
4343

4444
### Optional
4545

46-
- `access_level` (String) The access level of the associated user_id project membership (cf resource_gitlab_project_membership). Valid values are: `no one`, `minimal`, `guest`, `reporter`, `developer`, `maintainer`, `master`. Default is `maintainer`
46+
- `access_level` (String) The access level for the project access token. Valid values are: `no one`, `minimal`, `guest`, `reporter`, `developer`, `maintainer`, `master`. Default is `maintainer`.
4747
- `expires_at` (String) Time the token will expire it, YYYY-MM-DD format. Will not expire per default.
4848
- `id` (String) The ID of this resource.
4949

internal/provider/resource_gitlab_project_access_token.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ var _ = registerResource("gitlab_project_access_token", func() *schema.Resource
9191
Computed: true,
9292
},
9393
"access_level": {
94-
Description: fmt.Sprintf("The access level of the associated user_id project membership (cf resource_gitlab_project_membership). Valid values are: %s. Default is `%s`", renderValueListForDocs(validProjectAccessLevelNames), accessLevelValueToName[gitlab.MaintainerPermissions]),
94+
Description: fmt.Sprintf("The access level for the project access token. Valid values are: %s. Default is `%s`.", renderValueListForDocs(validProjectAccessLevelNames), accessLevelValueToName[gitlab.MaintainerPermissions]),
9595
Type: schema.TypeString,
9696
ValidateDiagFunc: validation.ToDiagFunc(validation.StringInSlice(validProjectAccessLevelNames, false)),
9797
Optional: true,

0 commit comments

Comments
 (0)