terraform-google-modules / terraform-google-sql-db

Creates a Cloud SQL database instance
https://registry.terraform.io/modules/terraform-google-modules/sql-db/google
Apache License 2.0
263 stars 422 forks source link

Data Cache is not available for Read Replica of MySql in Enterprise Plus edition #631

Open AmarendraSingh88 opened 4 weeks ago

AmarendraSingh88 commented 4 weeks ago

TL;DR

Data Cache is not available for Read Replica of MySql in Enterprise Plus edition and because of that we are not able to use Enterprise Plus upgrade via terraform.

Expected behavior

We should have the data_cache_enabled parameter available for MySql Read Replica as well, the same way we have it for Master MySql database.

Observed behavior

We do not have data_cache_enabled param available for MySql Read Replica while it is there for Master Database

Terraform Configuration

data_cache_enabled    = var.data_cache_enabled

Terraform Version

1.4.5

Additional information

This PR is there, which added the edition and data cache related details but seems it is missed for MySql Read Replica.