-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: remove duplicate example usage (#1673)
- Loading branch information
1 parent
a40df2a
commit 6bef38b
Showing
3 changed files
with
24 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 0 additions & 16 deletions
16
examples/resources/aiven_organization_group_project/resource copy.tf
This file was deleted.
Oops, something went wrong.
14 changes: 12 additions & 2 deletions
14
examples/resources/aiven_organization_group_project/resource.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,22 @@ | ||
resource "aiven_project" "example_project" { | ||
project = "Example project" | ||
parent_id = aiven_organization.main.id | ||
} | ||
|
||
resource "aiven_organization_user_group" "example" { | ||
description = "Example group of users." | ||
organization_id = aiven_organization.main.id | ||
name = "Example group" | ||
} | ||
|
||
resource "aiven_organization_user_group_member" "project_admin" { | ||
group_id = aiven_organization_user_group.example.group_id | ||
organization_id = aiven_organization.main.id | ||
user_id = "u123a456b7890c" | ||
} | ||
|
||
resource "aiven_organization_group_project" "example" { | ||
group_id = aiven_organization_user_group.example.group_id | ||
project = aiven_project.example.project | ||
project = aiven_project.example_project.project | ||
role = "admin" | ||
} | ||
} |