Skip to content

Commit 80a6b81

Browse files
authored
Merge pull request #2730 from aiven/doc-1749-staceys-permissions-resource-id
docs: update description of resource_id for permissions
2 parents 6bc3204 + df67e79 commit 80a6b81

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

definitions/organization_permission.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ operations:
2626
- id: PermissionsGet
2727
type: read
2828
schema:
29+
resource_id:
30+
description: The ID of the organization, unit, or project to grant permissions for. The project ID is the name of the project.
2931
permissions:
3032
items:
3133
properties:

docs/resources/organization_permission.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ resource "aiven_organization_permission" "example_org_permissions" {
7878
### Required
7979

8080
- `organization_id` (String) ID of an organization. Changing this property forces recreation of the resource.
81-
- `resource_id` (String) Resource Id. Changing this property forces recreation of the resource.
81+
- `resource_id` (String) The ID of the organization, unit, or project to grant permissions for. The project ID is the name of the project. Changing this property forces recreation of the resource.
8282
- `resource_type` (String) Resource type. The possible values are `organization`, `organization_unit` and `project`. Changing this property forces recreation of the resource.
8383

8484
### Optional

internal/plugin/service/organization/permission/zz_resource.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)