added missed depends_on
This commit is contained in:
parent
24642950f7
commit
be9de00015
|
@ -117,6 +117,7 @@ Some manual tests.
|
||||||
|
|
||||||
| Name | Source | Version |
|
| Name | Source | Version |
|
||||||
|------|--------|---------|
|
|------|--------|---------|
|
||||||
|
| <a name="module_flux-cluster-variables"></a> [flux-cluster-variables](#module\_flux-cluster-variables) | git@bitbucket.org:altenar/terraform-module-k8s-flux-cluster-variables.git | 1.0.0 |
|
||||||
| <a name="module_gke"></a> [gke](#module\_gke) | terraform-google-modules/kubernetes-engine/google//modules/beta-private-cluster-update-variant | 32.0.0 |
|
| <a name="module_gke"></a> [gke](#module\_gke) | terraform-google-modules/kubernetes-engine/google//modules/beta-private-cluster-update-variant | 32.0.0 |
|
||||||
|
|
||||||
## Resources
|
## Resources
|
||||||
|
|
|
@ -7,6 +7,7 @@ resource "google_project_service" "service_networking" {
|
||||||
resource "google_compute_network" "vpc" {
|
resource "google_compute_network" "vpc" {
|
||||||
name = var.vpc_network
|
name = var.vpc_network
|
||||||
auto_create_subnetworks = "false"
|
auto_create_subnetworks = "false"
|
||||||
|
depends_on = [google_project_service.service_networking]
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "google_compute_subnetwork" "subnet" {
|
resource "google_compute_subnetwork" "subnet" {
|
||||||
|
|
|
@ -7,6 +7,7 @@ resource "google_project_service" "service_networking" {
|
||||||
resource "google_compute_network" "vpc" {
|
resource "google_compute_network" "vpc" {
|
||||||
name = "${var.project}-vpc"
|
name = "${var.project}-vpc"
|
||||||
auto_create_subnetworks = "false"
|
auto_create_subnetworks = "false"
|
||||||
|
depends_on = [google_project_service.service_networking]
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "google_compute_subnetwork" "subnet" {
|
resource "google_compute_subnetwork" "subnet" {
|
||||||
|
|
Loading…
Reference in New Issue