Skip to content

Commit

Permalink
fix: Pin postgresql module to known good version (#2185)
Browse files Browse the repository at this point in the history
  • Loading branch information
henrybell authored Aug 19, 2024
1 parent 175b472 commit 905fa39
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions iac/tf-multienv-cicd-anthos-autopilot/env-production.tf
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,10 @@ resource "google_service_account_iam_member" "gke_workload_production_identity"
]
}

# CloudSQL Postgres production instance
# CloudSQL Postgres production instance
module "cloudsql_production" {
source = "GoogleCloudPlatform/sql-db/google//modules/postgresql"
source = "GoogleCloudPlatform/sql-db/google//modules/postgresql"
version = "~> 20.0.0"

project_id = var.project_id
region = var.region
Expand Down
5 changes: 3 additions & 2 deletions iac/tf-multienv-cicd-anthos-autopilot/env-staging.tf
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,10 @@ resource "google_service_account_iam_member" "gke_workload_staging_identity" {
]
}

# CloudSQL Postgres staging instance
# CloudSQL Postgres staging instance
module "cloudsql_staging" {
source = "GoogleCloudPlatform/sql-db/google//modules/postgresql"
source = "GoogleCloudPlatform/sql-db/google//modules/postgresql"
version = "~> 20.0.0"

project_id = var.project_id
region = var.region
Expand Down

0 comments on commit 905fa39

Please sign in to comment.