You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description="List of read replicas to create. Encryption key is required for replica in different region. For replica in same region as master set encryption_key_name = null"
It's unclear whether this is a limitation of the database type or just the module. The PostgreSQL module seems to inherit the configuration from the primary:
Whereas the MySQL module uses the replica-specific setting (this should probably inherit settings from the primary, and only override in replicas if set, via the Terraform merge function or similar):
TL;DR
The MySQL module allows read replicas to have a separate insights_config, which overrides the default:
terraform-google-sql-db/modules/mysql/variables.tf
Lines 255 to 259 in 2fcad8c
However, the PostgreSQL module does not:
terraform-google-sql-db/modules/postgresql/variables.tf
Lines 235 to 264 in 2fcad8c
It's unclear whether this is a limitation of the database type or just the module. The PostgreSQL module seems to inherit the configuration from the primary:
terraform-google-sql-db/modules/postgresql/read_replica.tf
Line 64 in 2fcad8c
Whereas the MySQL module uses the replica-specific setting (this should probably inherit settings from the primary, and only override in replicas if set, via the Terraform merge function or similar):
terraform-google-sql-db/modules/mysql/read_replica.tf
Line 46 in 2fcad8c
Terraform Resources
No response
Detailed design
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: