Skip to content

Commit

Permalink
Update terminology for IAM roles (#4056) (#2551)
Browse files Browse the repository at this point in the history
Roles like "Owner" and "Editor" are now called "basic roles": https://cloud.google.com/iam/docs/understand

Signed-off-by: Modular Magician <magic-modules@google.com>
  • Loading branch information
modular-magician authored Oct 6, 2020
1 parent 0c9136a commit e9f49c1
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 16 deletions.
2 changes: 2 additions & 0 deletions .changelog/4056.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
```release-note:none
```
7 changes: 3 additions & 4 deletions google-beta/resource_big_query_dataset.go
Original file line number Diff line number Diff line change
Expand Up @@ -240,10 +240,9 @@ domain specified will be granted the specified access`,
Type: schema.TypeString,
Optional: true,
Description: `Describes the rights granted to the user specified by the other
member of the access object. Primitive, Predefined and custom
roles are supported. Predefined roles that have equivalent
primitive roles are swapped by the API to their Primitive
counterparts. See
member of the access object. Basic, predefined, and custom roles
are supported. Predefined roles that have equivalent basic roles
are swapped by the API to their basic counterparts. See
[official docs](https://cloud.google.com/bigquery/docs/access-control).`,
},
"special_group": {
Expand Down
8 changes: 4 additions & 4 deletions google-beta/resource_big_query_dataset_access.go
Original file line number Diff line number Diff line change
Expand Up @@ -192,10 +192,10 @@ group, domain, or special group. For example: 'allUsers'`,
ForceNew: true,
DiffSuppressFunc: resourceBigQueryDatasetAccessRoleDiffSuppress,
Description: `Describes the rights granted to the user specified by the other
member of the access object. Primitive, Predefined and custom
roles are supported. Predefined roles that have equivalent
primitive roles are swapped by the API to their Primitive
counterparts, and will show a diff post-create. See
member of the access object. Basic, predefined, and custom roles are
supported. Predefined roles that have equivalent basic roles are
swapped by the API to their basic counterparts, and will show a diff
post-create. See
[official docs](https://cloud.google.com/bigquery/docs/access-control).`,
},
"special_group": {
Expand Down
7 changes: 3 additions & 4 deletions website/docs/r/bigquery_dataset.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -205,10 +205,9 @@ The `access` block supports:
* `role` -
(Optional)
Describes the rights granted to the user specified by the other
member of the access object. Primitive, Predefined and custom
roles are supported. Predefined roles that have equivalent
primitive roles are swapped by the API to their Primitive
counterparts. See
member of the access object. Basic, predefined, and custom roles
are supported. Predefined roles that have equivalent basic roles
are swapped by the API to their basic counterparts. See
[official docs](https://cloud.google.com/bigquery/docs/access-control).

* `special_group` -
Expand Down
8 changes: 4 additions & 4 deletions website/docs/r/bigquery_dataset_access.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,10 @@ The following arguments are supported:
* `role` -
(Optional)
Describes the rights granted to the user specified by the other
member of the access object. Primitive, Predefined and custom
roles are supported. Predefined roles that have equivalent
primitive roles are swapped by the API to their Primitive
counterparts, and will show a diff post-create. See
member of the access object. Basic, predefined, and custom roles are
supported. Predefined roles that have equivalent basic roles are
swapped by the API to their basic counterparts, and will show a diff
post-create. See
[official docs](https://cloud.google.com/bigquery/docs/access-control).

* `user_by_email` -
Expand Down

0 comments on commit e9f49c1

Please sign in to comment.