Fix missing service networking identity in project, PSA (#585)

* test

* test

* test

* fix

* tfdoc

* fix tests

* fix tests
This commit is contained in:
Ludovico Magnocavallo
2022-03-17 14:29:28 +01:00
committed by GitHub
parent 976eb9fe48
commit fef3ed8c93
18 changed files with 161 additions and 225 deletions

View File

@@ -25,7 +25,10 @@ module "vpc" {
source = "./modules/net-vpc"
project_id = module.project.project_id
name = "my-network"
psa_config = {cloudsql-ew1-0 = {ranges = ["10.60.0.0/16"], routes = null}}
psa_config = {
ranges = { cloud-sql = "10.60.0.0/16" }
routes = null
}
}
module "db" {
@@ -37,7 +40,7 @@ module "db" {
database_version = "POSTGRES_13"
tier = "db-g1-small"
}
# tftest modules=3 resources=6
# tftest modules=3 resources=9
```
## Cross-regional read replica