Support context interpolation for psc_allowed_consumer_projects in module cloudsql-instance (#3894)
This commit is contained in:
@@ -11,6 +11,7 @@ database_version = "POSTGRES_13"
|
||||
tier = "db-g1-small"
|
||||
network_config = {
|
||||
connectivity = {
|
||||
psc_allowed_consumer_projects = ["$project_ids:myprj"]
|
||||
psa_config = {
|
||||
private_network = "$networks:myvpc"
|
||||
}
|
||||
|
||||
@@ -23,6 +23,10 @@ values:
|
||||
- ip_configuration:
|
||||
- ipv4_enabled: false
|
||||
private_network: projects/myprj/global/networks/myvpc
|
||||
psc_config:
|
||||
- allowed_consumer_projects:
|
||||
- my-project
|
||||
psc_enabled: true
|
||||
|
||||
counts:
|
||||
google_sql_database_instance: 1
|
||||
|
||||
Reference in New Issue
Block a user