Skip to content

Commit a7cc0bb

Browse files
committed
NSOF-5653 docs: add note to group attachment resource docs
1 parent c1400ed commit a7cc0bb

File tree

4 files changed

+12
-0
lines changed

4 files changed

+12
-0
lines changed

docs/resources/group_roles_attachment.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ description: |-
1010

1111
Attaches roles to group.
1212

13+
~> **NOTE:** The **pfptmeta_group_roles_attachment** resource creates **exclusive** role attachments.
14+
Across the entire organization, all the roles attached to the group must be declared by a single pfptmeta_group_roles_attachment resource.
15+
This means that any group with the roles attached using any other method, including other Terraform resources, will have its role attachments revoked.
16+
1317
## Example Usage
1418

1519
```terraform

docs/resources/group_users_attachment.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ description: |-
1010

1111
Adds users to group.
1212

13+
~> **NOTE:** Multiple **pfptmeta_group_users_attachment** resources with the same group and users will result in inconsistent behavior!
14+
1315
## Example Usage
1416

1517
```terraform

templates/resources/group_roles_attachment.md.tmpl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ description: |-
1010

1111
{{ .Description | trimspace }}
1212

13+
~> **NOTE:** The **pfptmeta_group_roles_attachment** resource creates **exclusive** role attachments.
14+
Across the entire organization, all the roles attached to the group must be declared by a single pfptmeta_group_roles_attachment resource.
15+
This means that any group with the roles attached using any other method, including other Terraform resources, will have its role attachments revoked.
16+
1317
## Example Usage
1418

1519
{{tffile "examples/resources/pfptmeta_group_roles_attachment/resource.tf"}}

templates/resources/group_users_attachment.md.tmpl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ description: |-
1010

1111
{{ .Description | trimspace }}
1212

13+
~> **NOTE:** Multiple **pfptmeta_group_users_attachment** resources with the same group and users will result in inconsistent behavior!
14+
1315
## Example Usage
1416

1517
{{tffile "examples/resources/pfptmeta_group_users_attachment/resource.tf"}}

0 commit comments

Comments
 (0)