Skip to content

Commit 0121c90

Browse files
authored
Fix typo in custom_db_role documentation (#780)
The Example Usage sections in the documentation correctly use actions.resources.#.collection_name as an attribute name, but the Actions section of the Arguments reference refers to resources.#.collection. The Example Usage section is correct.
1 parent cfd97c9 commit 0121c90

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

website/docs/d/custom_db_role.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Each object in the actions array represents an individual privilege action grant
5959

6060
* `resources` - (Required) Contains information on where the action is granted. Each object in the array either indicates a database and collection on which the action is granted, or indicates that the action is granted on the cluster resource.
6161

62-
* `resources.#.collection` - (Optional) Collection on which the action is granted. If this value is an empty string, the action is granted on all collections within the database specified in the actions.resources.db field.
62+
* `resources.#.collection_name` - (Optional) Collection on which the action is granted. If this value is an empty string, the action is granted on all collections within the database specified in the actions.resources.db field.
6363

6464
* `resources.#.database_name` Database on which the action is granted.
6565

website/docs/d/custom_db_roles.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Each object in the actions array represents an individual privilege action grant
5555

5656
* `resources` - (Required) Contains information on where the action is granted. Each object in the array either indicates a database and collection on which the action is granted, or indicates that the action is granted on the cluster resource.
5757

58-
* `resources.#.collection` - (Optional) Collection on which the action is granted. If this value is an empty string, the action is granted on all collections within the database specified in the actions.resources.db field.
58+
* `resources.#.collection_name` - (Optional) Collection on which the action is granted. If this value is an empty string, the action is granted on all collections within the database specified in the actions.resources.db field.
5959

6060
* `resources.#.database_name` Database on which the action is granted.
6161

website/docs/r/custom_db_role.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ Each object in the actions array represents an individual privilege action grant
127127

128128
* `resources` - (Required) Contains information on where the action is granted. Each object in the array either indicates a database and collection on which the action is granted, or indicates that the action is granted on the cluster resource.
129129

130-
* `resources.#.collection` - (Optional) Collection on which the action is granted. If this value is an empty string, the action is granted on all collections within the database specified in the actions.resources.db field.
130+
* `resources.#.collection_name` - (Optional) Collection on which the action is granted. If this value is an empty string, the action is granted on all collections within the database specified in the actions.resources.db field.
131131

132132
-> **NOTE** This field is mutually exclusive with the `actions.resources.cluster` field.
133133

0 commit comments

Comments
 (0)