Skip to content

airasia/terraform-google-postgres_db

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terraform module for a Postgres CloudSQL Instance in GCP

Upgrade guide from v2.1.0 to v2.1.1

This upgrade requires google provider v3.44.0 or above which introduces the deletion_protection feature to google_sql_database_instance resources. Plan & Apply the google provider version upgrade first before upgrading this module version to v2.1.1.

Upgrade guide from v2.0.4 to v2.1.0

First make sure you've planned & applied v2.0.4. Then, upon upgrading from v2.0.4 to v2.1.0, you may (or may not) see a plan that destroys & creates an equal number of google_project_iam_member resources. It is OK to apply these changes as it will only change the data-structure of these resources from an array to a hashmap. Note that, after you plan & apply these changes, you may (or may not) get a "Provider produced inconsistent result after apply" error. Just re-plan and re-apply and that would resolve the error.