You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -177,7 +177,8 @@ Then perform the following commands on the root folder:
177
177
| project\_id | The project ID to host the cluster in (required) |`string`| n/a | yes |
178
178
| region | The region to host the cluster in (optional if zonal cluster / required if regional) |`string`|`null`| no |
179
179
| regional | Whether is a regional cluster (zonal cluster if set false. WARNING: changing this after cluster creation is destructive!) |`bool`|`true`| no |
180
-
| registry\_project\_id | Project holding the Google Container Registry. If empty, we use the cluster project. If grant\_registry\_access is true, storage.objectViewer role is assigned on this project. |`string`|`""`| no |
180
+
| registry\_project\_id | Deprecated. Replaced by `registry_project_ids`. Still works for the purposes of backwards compatibility, but will be removed in a future version. |`string`|`""`| no |
181
+
| registry\_project\_ids | Projects holding Google Container Registries. If empty, we use the cluster project. If a service account is created and the `grant_registry_access` variable is set to `true`, the `storage.objectViewer` role is assigned on these projects. |`list(string)`|`[]`| no |
181
182
| release\_channel | The release channel of this cluster. Accepted values are `UNSPECIFIED`, `RAPID`, `REGULAR` and `STABLE`. Defaults to `UNSPECIFIED`. |`string`|`null`| no |
182
183
| remove\_default\_node\_pool | Remove default node pool while setting up the cluster |`bool`|`false`| no |
183
184
| resource\_usage\_export\_dataset\_id | The ID of a BigQuery Dataset for using BigQuery as the destination of resource usage export. |`string`|`""`| no |
@@ -282,7 +283,7 @@ following project roles:
282
283
- roles/iam.serviceAccountUser
283
284
- roles/resourcemanager.projectIamAdmin (only required if `service_account` is set to `create`)
284
285
285
-
Additionally, if `service_account` is set to `create` and `grant_registry_access` is requested, the service account requires the following role on the `registry_project_id` project:
286
+
Additionally, if `service_account` is set to `create` and `grant_registry_access` is requested, the service account requires the following role on the `registry_project_ids` projects:
Copy file name to clipboardExpand all lines: autogen/main/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -241,7 +241,7 @@ following project roles:
241
241
- roles/iam.serviceAccountUser
242
242
- roles/resourcemanager.projectIamAdmin (only required if `service_account` is set to `create`)
243
243
244
-
Additionally, if `service_account` is set to `create` and `grant_registry_access` is requested, the service account requires the following role on the `registry_project_id` project:
244
+
Additionally, if `service_account` is set to `create` and `grant_registry_access` is requested, the service account requires the following role on the `registry_project_ids` projects:
description = "Project holding the Google Container Registry. If empty, we use the cluster project. If grant_registry_access is true, storage.objectViewer role is assigned on this project."
363
+
description = "Deprecated. Replaced by `registry_project_ids`. Still works for the purposes of backwards compatibility, but will be removed in a future version."
364
364
default = ""
365
365
}
366
366
367
+
variable "registry_project_ids" {
368
+
type = list(string)
369
+
description = "Projects holding Google Container Registries. If empty, we use the cluster project. If a service account is created and the `grant_registry_access` variable is set to `true`, the `storage.objectViewer` role is assigned on these projects."
370
+
default = []
371
+
}
372
+
367
373
variable "service_account" {
368
374
type = string
369
375
description = "The service account to run nodes as if not overridden in `node_pools`. The create_service_account variable default value (true) will cause a cluster-specific service account to be created."
description = "Project holding the Google Container Registry. If empty, we use the cluster project. If grant_registry_access is true, storage.objectViewer role is assigned on this project."
213
+
description = "Deprecated. Replaced by `registry_project_ids`. Still works for the purposes of backwards compatibility, but will be removed in a future version."
214
214
default = ""
215
215
}
216
216
217
+
variable "registry_project_ids" {
218
+
type = list(string)
219
+
description = "Projects holding Google Container Registries. If empty, we use the cluster project. If a service account is created and the `grant_registry_access` variable is set to `true`, the `storage.objectViewer` role is assigned on these projects."
220
+
default = []
221
+
}
222
+
217
223
variable "cluster_resource_labels" {
218
224
type = map(string)
219
225
description = "The GCE resource labels (a map of key/value pairs) to be applied to the cluster"
0 commit comments