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
265 stars 426 forks source link

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

Closed AmarendraSingh88 closed 1 month ago

AmarendraSingh88 commented 3 months 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.

AmarendraSingh88 commented 2 months ago

Hello team, Any plan to include this in the next release?

imrannayer commented 2 months ago

asked developed of PR #642 to add it in his PR.

AmarendraSingh88 commented 1 month ago

Hello @imrannayer , I see that the above PR is already merged and didn't include the changes for MySql. Would it be possible for you to add the changes? Thanks

imrannayer commented 1 month ago

@AmarendraSingh88 PR #652 will fix it