@@ -2,13 +2,12 @@ module "cluster_build" {
2
2
source = " {{.TFModuleRepo}}cluster_build?ref={{.TFModuleBranch}}"
3
3
project_id = var. project_id
4
4
governance_project_id = var. governance_project_id
5
+ regional_clusters = var. regional_clusters
5
6
region = var. region
6
7
zones = var. zones
7
8
shared_vpc = var. shared_vpc
8
9
vpc_name = var. vpc_name
9
10
ip_range_pods_name = var. ip_range_pods_name
10
- bastion_members = var. bastion_members
11
- ip_source_ranges_ssh = var. ip_source_ranges_ssh
12
11
vpc_project_id = var. vpc_project_id
13
12
vpc_ip_range_pods_name = var. vpc_ip_range_pods_name
14
13
vpc_ip_range_services_name = var. vpc_ip_range_services_name
@@ -22,6 +21,7 @@ module "cluster_build" {
22
21
private_endpoint = var. private_endpoint
23
22
auth_cidr = var. auth_cidr
24
23
config_sync = var. config_sync
24
+ config_sync_repo = var. config_sync_repo
25
25
policy_controller = var. policy_controller
26
26
config_connector = var. config_connector
27
27
windows_nodepool = var. windows_nodepool
@@ -30,7 +30,7 @@ module "cluster_build" {
30
30
k8s_users = var. k8s_users
31
31
multi_cluster_gateway = var. multi_cluster_gateway
32
32
anthos_service_mesh = var. anthos_service_mesh
33
- acm_tf_module_repo = " {{.TFModuleRepo}}acm?ref={{.TFModuleBranch}} "
33
+ gke_module_bypass = var . gke_module_bypass
34
34
}
35
35
36
36
variable "project_id" {
@@ -43,6 +43,12 @@ variable "governance_project_id" {
43
43
description = " The project ID to host governance resources"
44
44
}
45
45
46
+ variable "regional_clusters" {
47
+ type = bool
48
+ description = " Enable regional control plane."
49
+ default = true
50
+ }
51
+
46
52
variable "region" {
47
53
type = string
48
54
description = " The region to host the cluster in"
@@ -79,18 +85,6 @@ variable "ip_range_services_name" {
79
85
default = " ip-range-svc"
80
86
}
81
87
82
- variable "bastion_members" {
83
- type = list (string )
84
- description = " List of users, groups, SAs who need access to the bastion host"
85
- default = []
86
- }
87
-
88
- variable "ip_source_ranges_ssh" {
89
- type = list (string )
90
- description = " Additional source ranges to allow for ssh to bastion host. 35.235.240.0/20 allowed by default for IAP tunnel."
91
- default = []
92
- }
93
-
94
88
variable "vpc_project_id" {
95
89
type = string
96
90
description = " The Share VPC Project ID - This is optional and only valid if a Shared VPC is used"
@@ -161,6 +155,12 @@ variable "config_sync" {
161
155
default = true
162
156
}
163
157
158
+ variable "config_sync_repo" {
159
+ type = string
160
+ description = " Name of Cloud Source Repo for Config Sync"
161
+ default = " gke-poc-config-sync"
162
+ }
163
+
164
164
variable "policy_controller" {
165
165
type = bool
166
166
description = " Enable Policy Controller on all clusters."
@@ -170,7 +170,7 @@ variable "policy_controller" {
170
170
variable "config_connector" {
171
171
type = bool
172
172
description = " (Beta) Whether ConfigConnector is enabled for this cluster."
173
- default = true
173
+ default = false
174
174
}
175
175
176
176
variable "windows_nodepool" {
@@ -207,4 +207,10 @@ variable "anthos_service_mesh" {
207
207
type = bool
208
208
description = " Enable Anthos Service Mesh on all clusters."
209
209
default = true
210
- }
210
+ }
211
+
212
+ variable "gke_module_bypass" {
213
+ type = bool
214
+ description = " Experimental: Setting this to true allows you to use the TF GKE resource directly instead of the GKE module"
215
+ default = false
216
+ }
0 commit comments