Skip to content

Commit fe734b8

Browse files
authored
Adding depends_on for Netapp
Change the priority of Netapp to start deployment after GKE has been fully deployed. This slows the entire deployment process but avoids a scenario where the GKE deployment is peering networks when the Netapp module attempts a similar peering operation. This should resolve #231
1 parent 43a52e3 commit fe734b8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,4 +316,5 @@ module "google_netapp" {
316316
protocols = var.netapp_protocols
317317
volume_path = "${var.prefix}-${var.netapp_volume_path}"
318318
allowed_clients = join(",", [local.gke_subnet_cidr, local.misc_subnet_cidr])
319+
depends_on = [ module.gke ]
319320
}

0 commit comments

Comments
 (0)