feat: 🎸 (modules/cloudsql-instance):add project_id for ssl cert (#1591)

This commit is contained in:
erabusi 2023-08-14 16:10:25 +05:30 committed by GitHub
parent 4c0c9b16f4
commit b6b660f4f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -194,6 +194,7 @@ resource "google_sql_user" "users" {
resource "google_sql_ssl_cert" "postgres_client_certificates" {
for_each = var.postgres_client_certificates != null ? toset(var.postgres_client_certificates) : toset([])
provider = google-beta
project = var.project_id
instance = google_sql_database_instance.primary.name
common_name = each.key
}