File tree Expand file tree Collapse file tree 4 files changed +10
-12
lines changed Expand file tree Collapse file tree 4 files changed +10
-12
lines changed Original file line number Diff line number Diff line change @@ -125,6 +125,11 @@ variable "operator_version" {
125
125
default = null
126
126
}
127
127
128
+ output "network" {
129
+ description = " Network details"
130
+ value = module. materialize . network
131
+ }
132
+
128
133
variable "orchestratord_version" {
129
134
description = " Version of the Materialize orchestrator to install"
130
135
type = string
Original file line number Diff line number Diff line change @@ -21,12 +21,11 @@ module "gke" {
21
21
22
22
depends_on = [module . networking ]
23
23
24
- project_id = var. project_id
25
- region = var. region
26
- prefix = var. prefix
27
- network_name = module. networking . network_name
28
- subnet_name = module. networking . subnet_name
29
- network_dependency = module. networking . private_vpc_connection
24
+ project_id = var. project_id
25
+ region = var. region
26
+ prefix = var. prefix
27
+ network_name = module. networking . network_name
28
+ subnet_name = module. networking . subnet_name
30
29
31
30
node_count = var. gke_config . node_count
32
31
machine_type = var. gke_config . machine_type
Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ resource "google_container_cluster" "primary" {
18
18
depends_on = [
19
19
google_service_account . gke_sa ,
20
20
google_service_account . workload_identity_sa ,
21
- var . network_dependency # This ensures the network is created first
22
21
]
23
22
24
23
name = " ${ var . prefix } -gke"
Original file line number Diff line number Diff line change @@ -23,11 +23,6 @@ variable "subnet_name" {
23
23
type = string
24
24
}
25
25
26
- variable "network_dependency" {
27
- description = " Dependency on the network resources"
28
- type = any
29
- }
30
-
31
26
variable "node_count" {
32
27
description = " Number of nodes in the GKE cluster"
33
28
type = number
You can’t perform that action at this time.
0 commit comments