Skip to content

Commit 92cbaaa

Browse files
Use correct import format for iam member docs (#3552) (#2104)
Signed-off-by: Modular Magician <[email protected]>
1 parent 039c2b9 commit 92cbaaa

7 files changed

+9
-6
lines changed

.changelog/3552.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:none
2+
3+
```

website/docs/r/artifact_registry_repository_iam.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ Artifact Registry repository IAM resources can be imported using the resource id
130130

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

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

website/docs/r/cloud_run_service_iam.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ Cloud Run service IAM resources can be imported using the resource identifiers,
127127

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

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

website/docs/r/data_catalog_entry_group_iam.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ Data catalog entrygroup IAM resources can be imported using the resource identif
120120

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

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

website/docs/r/service_directory_namespace_iam.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ Service Directory namespace IAM resources can be imported using the resource ide
118118

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

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

website/docs/r/service_directory_service_iam.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ Service Directory service IAM resources can be imported using the resource ident
118118

119119
IAM member imports use space-delimited identifiers: the resource in question, the role, and the member identity, e.g.
120120
```
121-
$ terraform import -provider=google-beta google_service_directory_service_iam_member.editor "{{service}} roles/viewer [email protected]"
121+
$ 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]"
122122
```
123123

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

website/docs/r/storage_bucket_iam.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ Cloud Storage bucket IAM resources can be imported using the resource identifier
189189

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

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

0 commit comments

Comments
 (0)