diff --git a/private-cluster-module/README.md b/private-cluster-module/README.md
index 8249cae..6b50c29 100644
--- a/private-cluster-module/README.md
+++ b/private-cluster-module/README.md
@@ -117,6 +117,7 @@ Some manual tests.
| Name | Source | Version |
|------|--------|---------|
+| [flux-cluster-variables](#module\_flux-cluster-variables) | git@bitbucket.org:altenar/terraform-module-k8s-flux-cluster-variables.git | 1.0.0 |
| [gke](#module\_gke) | terraform-google-modules/kubernetes-engine/google//modules/beta-private-cluster-update-variant | 32.0.0 |
## Resources
diff --git a/private-cluster-module/vpc.tf b/private-cluster-module/vpc.tf
index af81ae0..d126ffe 100644
--- a/private-cluster-module/vpc.tf
+++ b/private-cluster-module/vpc.tf
@@ -7,6 +7,7 @@ resource "google_project_service" "service_networking" {
resource "google_compute_network" "vpc" {
name = var.vpc_network
auto_create_subnetworks = "false"
+ depends_on = [google_project_service.service_networking]
}
resource "google_compute_subnetwork" "subnet" {
diff --git a/simple-template/vpc.tf b/simple-template/vpc.tf
index 75e07b0..036834e 100644
--- a/simple-template/vpc.tf
+++ b/simple-template/vpc.tf
@@ -7,6 +7,7 @@ resource "google_project_service" "service_networking" {
resource "google_compute_network" "vpc" {
name = "${var.project}-vpc"
auto_create_subnetworks = "false"
+ depends_on = [google_project_service.service_networking]
}
resource "google_compute_subnetwork" "subnet" {