Skip to content

Commit

Permalink
Add cluster subnet dependency for K8 cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
tmiddelkoop committed May 13, 2021
1 parent e6681a6 commit bdd8c9f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions slurm-gcp/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ module "slurm_cluster_compute" {
## Custom resources. TODO: Move to separate module.
resource "google_container_cluster" "class" {
name = "class-container-cluster"
depends_on = [module.slurm_cluster_network.subnet_depend]
count = 1
initial_node_count = 3
location = var.zone
Expand Down

0 comments on commit bdd8c9f

Please sign in to comment.