Skip to content

Commit

Permalink
Use correct import format for iam member docs (#3552) (#2104)
Browse files Browse the repository at this point in the history
Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored May 21, 2020
1 parent 039c2b9 commit 92cbaaa
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .changelog/3552.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:none

```
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ Artifact Registry repository IAM resources can be imported using the resource id

IAM member imports use space-delimited identifiers: the resource in question, the role, and the member identity, e.g.
```
$ terraform import -provider=google-beta google_artifact_registry_repository_iam_member.editor "projects/{{project}}/locations/{{location}}/repositories/{{repsitory_id}} roles/viewer [email protected]"
$ terraform import -provider=google-beta google_artifact_registry_repository_iam_member.editor "projects/{{project}}/locations/{{location}}/repositories/{{repository}} roles/viewer [email protected]"
```

IAM binding imports use space-delimited identifiers: the resource in question and the role, e.g.
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/cloud_run_service_iam.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ Cloud Run service IAM resources can be imported using the resource identifiers,

IAM member imports use space-delimited identifiers: the resource in question, the role, and the member identity, e.g.
```
$ terraform import google_cloud_run_service_iam_member.editor "locations/{{location}}/namespaces/{{project}}/services/{{service}} roles/viewer [email protected]"
$ terraform import google_cloud_run_service_iam_member.editor "projects/{{project}}/locations/{{location}}/services/{{service}} roles/viewer [email protected]"
```

IAM binding imports use space-delimited identifiers: the resource in question and the role, e.g.
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/data_catalog_entry_group_iam.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ Data catalog entrygroup IAM resources can be imported using the resource identif

IAM member imports use space-delimited identifiers: the resource in question, the role, and the member identity, e.g.
```
$ terraform import google_data_catalog_entry_group_iam_member.editor "{{entry_group}} roles/viewer [email protected]"
$ terraform import google_data_catalog_entry_group_iam_member.editor "projects/{{project}}/locations/{{region}}/entryGroups/{{entry_group}} roles/viewer [email protected]"
```

IAM binding imports use space-delimited identifiers: the resource in question and the role, e.g.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ Service Directory namespace IAM resources can be imported using the resource ide

IAM member imports use space-delimited identifiers: the resource in question, the role, and the member identity, e.g.
```
$ terraform import -provider=google-beta google_service_directory_namespace_iam_member.editor "{{namespace}} roles/viewer [email protected]"
$ terraform import -provider=google-beta google_service_directory_namespace_iam_member.editor "projects/{{project}}/locations/{{location}}/namespaces/{{namespace_id}} roles/viewer [email protected]"
```

IAM binding imports use space-delimited identifiers: the resource in question and the role, e.g.
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/service_directory_service_iam.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ Service Directory service IAM resources can be imported using the resource ident

IAM member imports use space-delimited identifiers: the resource in question, the role, and the member identity, e.g.
```
$ terraform import -provider=google-beta google_service_directory_service_iam_member.editor "{{service}} roles/viewer [email protected]"
$ terraform import -provider=google-beta google_service_directory_service_iam_member.editor "projects/{{project}}/locations/{{location}}/namespaces/{{namespace_id}}/services/{{service_id}} roles/viewer [email protected]"
```

IAM binding imports use space-delimited identifiers: the resource in question and the role, e.g.
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/storage_bucket_iam.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ Cloud Storage bucket IAM resources can be imported using the resource identifier

IAM member imports use space-delimited identifiers: the resource in question, the role, and the member identity, e.g.
```
$ terraform import google_storage_bucket_iam_member.editor "b/{{bucket}}?projection=full roles/storage.objectViewer [email protected]"
$ terraform import google_storage_bucket_iam_member.editor "b/{{bucket}} roles/storage.objectViewer [email protected]"
```

IAM binding imports use space-delimited identifiers: the resource in question and the role, e.g.
Expand Down

0 comments on commit 92cbaaa

Please sign in to comment.