Allow multiple PSA service providers in net-vpc module (#2218)
* allowing multiple PSA service providers in net-vpc module * tfdoc * tfdoc * Add tfvars/yaml tests * fix module and tests * re-enable inventory * merge fix * Add multiple PSA test case * fix cloudsql example --------- Co-authored-by: Wiktor Niesiobędzki <wiktorn@google.com>
This commit is contained in:
committed by
GitHub
parent
b4b926a56e
commit
9414779cc2
@@ -31,11 +31,11 @@ module "vpc" {
|
||||
region = var.region
|
||||
}
|
||||
]
|
||||
psa_config = {
|
||||
psa_configs = [{
|
||||
ranges = {
|
||||
cloud-sql = var.ip_ranges.psa
|
||||
}
|
||||
}
|
||||
}]
|
||||
}
|
||||
|
||||
|
||||
@@ -56,9 +56,9 @@ module "cloudsql" {
|
||||
project_id = module.project.project_id
|
||||
network_config = {
|
||||
connectivity = {
|
||||
psa_config = {
|
||||
psa_configs = [{
|
||||
private_network = module.vpc.self_link
|
||||
}
|
||||
}]
|
||||
}
|
||||
}
|
||||
name = "${var.prefix}-mysql"
|
||||
|
||||
Reference in New Issue
Block a user