Only use local networking for cloudsql.

This commit is contained in:
Tom Alexander
2021-07-12 22:25:12 -04:00
parent 07b38295c3
commit b8216c71be
3 changed files with 47 additions and 3 deletions

View File

@@ -252,7 +252,12 @@ output "gke_connect_command" {
#################### SQL ##################################
module "cloudsql" {
source = "../modules/cloudsql"
project = var.project
region = var.region
source = "../modules/cloudsql"
project = var.project
region = var.region
private_network_id = module.networking.private_network_id
depends_on = [
module.networking
]
}