diff --git a/ibm_catalog.json b/ibm_catalog.json index 1c657787..88025e05 100644 --- a/ibm_catalog.json +++ b/ibm_catalog.json @@ -259,7 +259,12 @@ "key": "member_host_flavor" }, { - "key": "auto_scaling" + "key": "auto_scaling", + "custom_config": { + "type": "code_editor", + "grouping": "deployment", + "original_grouping": "deployment" + } }, { "key": "configuration", @@ -600,7 +605,12 @@ "key": "member_host_flavor" }, { - "key": "auto_scaling" + "key": "auto_scaling", + "custom_config": { + "type": "code_editor", + "grouping": "deployment", + "original_grouping": "deployment" + } }, { "key": "configuration", diff --git a/solutions/fully-configurable/variables.tf b/solutions/fully-configurable/variables.tf index c71a7882..db9093d3 100644 --- a/solutions/fully-configurable/variables.tf +++ b/solutions/fully-configurable/variables.tf @@ -360,7 +360,28 @@ variable "auto_scaling" { }) }) description = "Optional rules to allow the database to increase resources in response to usage. Only a single autoscaling block is allowed. Make sure you understand the effects of autoscaling, especially for production environments. [Learn more](https://github.com/terraform-ibm-modules/terraform-ibm-icd-mysql/blob/main/solutions/fully-configurable/DA-types.md#autoscaling)" - default = null + default = { + disk = { + capacity_enabled = false + free_space_less_than_percent = 10 + io_above_percent = 90 + io_enabled = false + io_over_period = "15m" + rate_increase_percent = 10 + rate_limit_mb_per_member = 3670016 + rate_period_seconds = 900 + rate_units = "mb" + } + memory = { + io_above_percent = 90 + io_enabled = false + io_over_period = "15m" + rate_increase_percent = 10 + rate_limit_mb_per_member = 114688 + rate_period_seconds = 900 + rate_units = "mb" + } + } } ############################################################################# diff --git a/solutions/security-enforced/variables.tf b/solutions/security-enforced/variables.tf index 1f61b0e5..edcfb568 100644 --- a/solutions/security-enforced/variables.tf +++ b/solutions/security-enforced/variables.tf @@ -297,7 +297,28 @@ variable "auto_scaling" { }) }) description = "Optional rules to allow the database to increase resources in response to usage. Only a single autoscaling block is allowed. Make sure you understand the effects of autoscaling, especially for production environments. [Learn more](https://github.com/terraform-ibm-modules/terraform-ibm-icd-mysql/blob/main/solutions/fully-configurable/DA-types.md#autoscaling)" - default = null + default = { + disk = { + capacity_enabled = false + free_space_less_than_percent = 10 + io_above_percent = 90 + io_enabled = false + io_over_period = "15m" + rate_increase_percent = 10 + rate_limit_mb_per_member = 3670016 + rate_period_seconds = 900 + rate_units = "mb" + } + memory = { + io_above_percent = 90 + io_enabled = false + io_over_period = "15m" + rate_increase_percent = 10 + rate_limit_mb_per_member = 114688 + rate_period_seconds = 900 + rate_units = "mb" + } + } } #############################################################################