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
| master\_auth | The authentication information for accessing the Kubernetes master. | <pre>object({<br> client_certificate_config = optional(object({<br> issue_client_certificate = optional(bool)<br> }))<br> })</pre> |`null`| no |
| mesh\_certificates | Configuration for the provisioning of managed mesh certificates. | <pre>object({<br> enable_certificates = optional(bool)<br> })</pre> |`null`| no |
46
46
| min\_master\_version | The minimum version of the master. GKE will auto-update the master to new versions, so this does not guarantee the master version--use the read-only master\_version field to obtain a current version. If unset, the server's default version will be used. |`string`|`null`| no |
| vertical\_pod\_autoscaling | Vertical Pod Autoscaling automatically adjusts the resources of pods controlled by it. | <pre>object({<br> enabled = optional(bool)<br> })</pre> | <pre>{<br> "enabled": true<br>}</pre> | no |
68
68
| workload\_alts\_config | Workload ALTS configuration for the cluster. Whether the alts handshaker should be enabled or not for direct-path. Requires Workload Identity (workloadPool) must be non-empty | <pre>object({<br> enable_alts = bool<br> })</pre> |`null`| no |
69
-
| workload\_identity\_config | Configuration for the use of Kubernetes Service Accounts in GCP IAM policies. | <pre>object({<br> workload_pool = optional(string)<br> })</pre> |`null`|no|
69
+
| workload\_identity\_config | Configuration for the use of Kubernetes Service Accounts in GCP IAM policies. | <pre>object({<br> workload_pool = string<br> })</pre> |n/a|yes|
description: The minimum version of the master. GKE will auto-update the master to new versions, so this does not guarantee the master version--use the read-only master_version field to obtain a current version. If unset, the server's default version will be used.
289
290
varType: string
@@ -426,8 +427,9 @@ spec:
426
427
description: Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.
427
428
varType: |-
428
429
object({
429
-
workload_pool = optional(string)
430
+
workload_pool = string
430
431
})
432
+
required: true
431
433
- name: identity_service_config
432
434
description: Whether to enable the Identity Service component. It is disabled by default. Set enabled=true to enable.
Copy file name to clipboardExpand all lines: modules/gke-standard-cluster/README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,7 @@ For a module with a complete configuration of a Google Cloud Platform Kubernetes
48
48
| logging\_service | The logging service that the cluster should write logs to. Available options include `logging.googleapis.com`, `logging.googleapis.com/kubernetes`, and `none`. |`string`|`null`| no |
49
49
| maintenance\_policy | The maintenance policy to use for the cluster. | <pre>object({<br> daily_maintenance_window = optional(object({<br> start_time = optional(string)<br> }))<br> recurring_window = optional(object({<br> start_time = optional(string)<br> end_time = optional(string)<br> recurrence = optional(string)<br> }))<br> maintenance_exclusion = optional(list(object({<br> exclusion_name = optional(string)<br> start_time = optional(string)<br> end_time = optional(string)<br> exclusion_options = optional(object({<br> scope = optional(string)<br> }))<br> })))<br> })</pre> |`null`| no |
50
50
| master\_auth | The authentication information for accessing the Kubernetes master. | <pre>object({<br> client_certificate_config = optional(object({<br> issue_client_certificate = optional(bool)<br> }))<br> })</pre> |`null`| no |
| mesh\_certificates | Configuration for the provisioning of managed mesh certificates. | <pre>object({<br> enable_certificates = optional(bool)<br> })</pre> |`null`| no |
53
53
| min\_master\_version | The minimum version of the master. GKE will auto-update the master to new versions, so this does not guarantee the master version--use the read-only master\_version field to obtain a current version. If unset, the server's default version will be used. |`string`|`null`| no |
54
54
| monitoring\_config | Monitoring configuration for the cluster. | <pre>object({<br> enable_components = optional(list(string))<br> })</pre> |`null`| no |
@@ -67,7 +67,7 @@ For a module with a complete configuration of a Google Cloud Platform Kubernetes
67
67
| pod\_security\_policy\_config | Configuration for the [PodSecurityPolicy](https://cloud.google.com/kubernetes-engine/docs/how-to/pod-security-policies) feature. | <pre>object({<br> enabled = bool<br> })</pre> |`null`| no |
| private\_ipv6\_google\_access | The desired state of IPv6 access to Google Services. By default, no private IPv6 access to or from Google Services (all access will be via IPv4). |`string`|`null`| no |
70
-
| project\_id | The ID of the project in which the resource belongs. If it is not provided, the provider project id is used. |`string`|`null`|no|
70
+
| project\_id | The ID of the project in which the resource belongs. If it is not provided, the provider project id is used. |`string`|n/a|yes|
71
71
| protect\_config | Enable GKE Protect workloads for this cluster. | <pre>object({<br> workload_config = object({<br> audit_mode = string<br> })<br> workload_vulnerability_mode = optional(string)<br> })</pre> |`null`| no |
72
72
| release\_channel | Configuration for the release channel feature, which provides more control over automatic upgrades of your GKE clusters. | <pre>object({<br> channel = optional(string)<br> })</pre> |`null`| no |
73
73
| remove\_default\_node\_pool | If true, deletes the default node pool upon cluster creation. If you're using google\_container\_node\_pool resources with no default node pool, this should be set to true. |`bool`|`true`| no |
@@ -80,7 +80,7 @@ For a module with a complete configuration of a Google Cloud Platform Kubernetes
| vertical\_pod\_autoscaling | Vertical Pod Autoscaling automatically adjusts the resources of pods controlled by it. | <pre>object({<br> enabled = optional(bool)<br> })</pre> |`null`| no |
82
82
| workload\_alts\_config | Workload ALTS configuration for the cluster. Whether the alts handshaker should be enabled or not for direct-path. Requires Workload Identity (workloadPool) must be non-empty | <pre>object({<br> enable_alts = bool<br> })</pre> |`null`| no |
83
-
| workload\_identity\_config | Configuration for the use of Kubernetes Service Accounts in GCP IAM policies. | <pre>object({<br> workload_pool = optional(string)<br> })</pre> |`null`|no|
83
+
| workload\_identity\_config | Configuration for the use of Kubernetes Service Accounts in GCP IAM policies. | <pre>object({<br> workload_pool = string<br> })</pre> |n/a|yes|
Copy file name to clipboardExpand all lines: modules/gke-standard-cluster/metadata.yaml
+8-5Lines changed: 8 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -136,6 +136,7 @@ spec:
136
136
- name: project_id
137
137
description: The ID of the project in which the resource belongs. If it is not provided, the provider project id is used.
138
138
varType: string
139
+
required: true
139
140
- name: location
140
141
description: The location (region or zone) in which the cluster master will be created, as well as the default node location. If you specify a zone (such as us-central1-a), the cluster will be a zonal cluster with a single cluster master. If you specify a region (such as us-west1), the cluster will be a regional cluster with multiple masters spread across zones in the region, and with default node locations in those zones as well.
141
142
varType: string
@@ -359,13 +360,14 @@ spec:
359
360
description: The desired configuration options for master authorized networks.
description: The minimum version of the master. GKE will auto-update the master to new versions, so this does not guarantee the master version--use the read-only master_version field to obtain a current version. If unset, the server's default version will be used.
371
373
varType: string
@@ -861,8 +863,9 @@ spec:
861
863
description: Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.
862
864
varType: |-
863
865
object({
864
-
workload_pool = optional(string)
866
+
workload_pool = string
865
867
})
868
+
required: true
866
869
- name: identity_service_config
867
870
description: Whether to enable the Identity Service component. It is disabled by default. Set enabled=true to enable.
0 commit comments