* Enable remaining PSC config options * Windows slashes * Updates from review; slim down locals; obsolete psc_allowed_consumer_projects * Windows slashes * tfvars; examples * Copy-paste bug * Proper list check * Updates from Automated PR Review * Slahes * null psc fix; regenerate custom test inventory * fmt * Correct fixtures; remove deletion_policy from instance resources * Fix test * Remove deletio policy --------- Co-authored-by: Julio Castillo <jccb@google.com>
32 lines
977 B
HCL
32 lines
977 B
HCL
context = {
|
|
kms_keys = { mykey = "projects/myprj/locations/europe-west8/keyRings/mykr/cryptoKeys/mykey" }
|
|
locations = { ew8 = "europe-west8" }
|
|
networks = { myvpc = "projects/myprj/global/networks/myvpc" }
|
|
project_ids = { myprj = "my-project" }
|
|
}
|
|
project_id = "$project_ids:myprj"
|
|
region = "$locations:ew8"
|
|
name = "db-test"
|
|
database_version = "POSTGRES_13"
|
|
tier = "db-g1-small"
|
|
network_config = {
|
|
connectivity = {
|
|
psa_config = {
|
|
private_network = "$networks:myvpc"
|
|
}
|
|
psc_config = {
|
|
allowed_consumer_projects = ["$project_ids:myprj"]
|
|
}
|
|
}
|
|
}
|
|
encryption_key_name = "$kms_keys:mykey"
|
|
gcp_deletion_protection = false
|
|
terraform_deletion_protection = false
|
|
insights_config = {
|
|
query_string_length = 2048
|
|
record_application_tags = true
|
|
record_client_address = true
|
|
query_plans_per_minute = 10
|
|
enhanced_query_insights_enabled = true
|
|
}
|