I encounter the following error when trying to use a custom database_instance_tier for a Cloud SQL instance with the ENTERPRISE edition:
Configuration snippet
database_instance_tier = "db-custom-2-4096"
database_instance_edition = "ENTERPRISE"
Error Message
╷
│ Error: Error, failed to update instance settings for : googleapi: Error 400: Invalid request: The number of transaction log retention days must be between 1 and 7., invalid
│
│ with module.langfuse.google_sql_database_instance.this,
│ on .terraform/modules/langfuse/postgres.tf line 1, in resource 'google_sql_database_instance' 'this':
│ 1: resource "google_sql_database_instance" 'this' {
│
╵
Any guidance on resolving this or clarifying constraints for db-custom-* tiers with the ENTERPRISE edition would be appreciated.
I encounter the following error when trying to use a custom
database_instance_tierfor a Cloud SQL instance with theENTERPRISEedition:Configuration snippet
Error Message
Any guidance on resolving this or clarifying constraints for
db-custom-*tiers with the ENTERPRISE edition would be appreciated.