Skip to content

feat(mysql): add Hyperdisk provisioned IOPS and throughput - #877

Open
kam1kaze wants to merge 1 commit into
terraform-google-modules:mainfrom
kam1kaze:feat/mysql-hyperdisk-provisioned-performance
Open

kam1kaze wants to merge 1 commit into
terraform-google-modules:mainfrom
kam1kaze:feat/mysql-hyperdisk-provisioned-performance

Conversation

@kam1kaze

Copy link
Copy Markdown
Contributor

Adds data_disk_provisioned_iops and data_disk_provisioned_throughput to modules/mysql and passes them to settings of google_sql_database_instance. They set the provisioned performance of a Hyperdisk Balanced data disk (disk_type = "HYPERDISK_BALANCED", N4 tiers), which today can only be changed outside Terraform.

Both default to null. The provider fields are Optional + Computed, so existing instances keep their current values. The instance is managed by google-beta, which has had these fields since 6.31; the module already requires >= 7.22.

Tested with terraform validate, and with a copy of the module on two MySQL instances (db-custom-N4-2-8192, Hyperdisk Balanced): with the live values set, the plan shows no changes.

Add data_disk_provisioned_iops and data_disk_provisioned_throughput and pass
them to settings of google_sql_database_instance. They set the provisioned
performance of a Hyperdisk Balanced data disk. Both default to null, so
existing instances keep their current values.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant