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
+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
@@ -171,7 +171,7 @@ No modules.
171
171
| <aname="input_verify_worker_network_readiness"></a> [verify\_worker\_network\_readiness](#input\_verify\_worker\_network\_readiness)| By setting this to true, a script will run kubectl commands to verify that all worker nodes can communicate successfully with the master. If the runtime does not have access to the kube cluster to run kubectl commands, this should be set to false. |`bool`|`true`| no |
172
172
| <aname="input_vpc_id"></a> [vpc\_id](#input\_vpc\_id)| Id of the VPC instance where this cluster will be provisioned |`string`| n/a | yes |
173
173
| <aname="input_vpc_subnets"></a> [vpc\_subnets](#input\_vpc\_subnets)| Metadata that describes the VPC's subnets. Obtain this information from the VPC where this cluster will be created | <pre>map(list(object({<br> id = string<br> zone = string<br> cidr_block = string<br> })))</pre> | n/a | yes |
Copy file name to clipboardExpand all lines: examples/multiple_mzr_clusters/variables.tf
+30-15Lines changed: 30 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -74,9 +74,9 @@ variable "addresses" {
74
74
zone-3 =optional(list(string))
75
75
})
76
76
default={
77
-
zone-1 = ["10.10.10.0/24"]
78
-
zone-2 = ["10.20.10.0/24"]
79
-
zone-3 = ["10.30.10.0/24"]
77
+
zone-1 = ["10.243.0.0/23", "10.243.5.0/24"]
78
+
zone-2 = ["10.243.64.0/23", "10.243.69.0/24"]
79
+
zone-3 = ["10.243.128.0/23", "10.243.133.0/24"]
80
80
}
81
81
}
82
82
@@ -107,22 +107,37 @@ variable "subnets" {
107
107
zone-1 = [
108
108
{
109
109
acl_name ="vpc-acl"
110
-
name ="zone-1"
111
-
cidr ="10.10.10.0/24"
110
+
name ="z1-subnet-a"
111
+
cidr ="10.243.0.0/23"
112
+
},
113
+
{
114
+
acl_name ="vpc-acl"
115
+
name ="z1-subnet-b"
116
+
cidr ="10.243.5.0/24"
112
117
}
113
118
],
114
119
zone-2 = [
115
120
{
116
121
acl_name ="vpc-acl"
117
-
name ="zone-2"
118
-
cidr ="10.20.10.0/24"
122
+
name ="z2-subnet-c"
123
+
cidr ="10.243.64.0/23"
124
+
},
125
+
{
126
+
acl_name ="vpc-acl"
127
+
name ="z2-subnet-d"
128
+
cidr ="10.243.69.0/24"
119
129
}
120
130
],
121
131
zone-3 = [
122
132
{
123
133
acl_name ="vpc-acl"
124
-
name ="zone-3"
125
-
cidr ="10.30.10.0/24"
134
+
name ="z3-subnet-e"
135
+
cidr ="10.243.128.0/23"
136
+
},
137
+
{
138
+
acl_name ="vpc-acl"
139
+
name ="z3-subnet-f"
140
+
cidr ="10.243.133.0/24"
126
141
}
127
142
]
128
143
}
@@ -144,17 +159,17 @@ variable "worker_pools" {
144
159
}))
145
160
default=[
146
161
{
147
-
subnet_prefix ="zone-1"
162
+
subnet_prefix ="default"
148
163
pool_name ="default"# ibm_container_vpc_cluster automatically names standard pool "standard" (See https://github.com/IBM-Cloud/terraform-provider-ibm/issues/2849)
pool_name ="default"# ibm_container_vpc_cluster automatically names default pool "default" (See https://github.com/IBM-Cloud/terraform-provider-ibm/issues/2849)
pool_name ="default"# ibm_container_vpc_cluster automatically names standard pool "standard" (See https://github.com/IBM-Cloud/terraform-provider-ibm/issues/2849)
0 commit comments