diff --git a/cloud/gcp/cloud-sql/instance/README.md b/cloud/gcp/cloud-sql/instance/README.md index ab0b700..0c2766b 100644 --- a/cloud/gcp/cloud-sql/instance/README.md +++ b/cloud/gcp/cloud-sql/instance/README.md @@ -39,8 +39,8 @@ Inputs | cpu_message | Custom message for the CPU Utilization monitor | string | `` | no | | cpu_silenced | Groups to mute for GCP Cloud SQL CPU Utilization monitor | map | `` | no | | cpu_threshold_critical | CPU Utilization in fraction (critical threshold) | string | `0.9` | no | -| cpu_threshold_warning | CPU Utilization in fraction (warning threshold) | string | `0.85` | no | -| cpu_timeframe | Timeframe for the CPU Utilization monitor | string | `last_2h` | no | +| cpu_threshold_warning | CPU Utilization in fraction (warning threshold) | string | `0.8` | no | +| cpu_timeframe | Timeframe for the CPU Utilization monitor | string | `last_30m` | no | | delay | Delay in seconds for the metric evaluation | string | `900` | no | | disk_message | Custom message for the Disk Utilization monitor | string | `` | no | | disk_silenced | Groups to mute for GCP Cloud SQL Disk Utilization monitor | map | `` | no | @@ -68,3 +68,4 @@ Inputs | memory_timeframe | Timeframe for the Memory Utilization monitor | string | `last_5m` | no | | message | Message sent when a monitor is triggered | string | - | yes | | project_id | ID of the GCP Project | string | - | yes | + diff --git a/cloud/gcp/cloud-sql/instance/inputs.tf b/cloud/gcp/cloud-sql/instance/inputs.tf index e060c47..f7d82cd 100644 --- a/cloud/gcp/cloud-sql/instance/inputs.tf +++ b/cloud/gcp/cloud-sql/instance/inputs.tf @@ -45,13 +45,13 @@ variable "cpu_message" { variable "cpu_timeframe" { description = "Timeframe for the CPU Utilization monitor" type = "string" - default = "last_2h" + default = "last_30m" } variable "cpu_threshold_warning" { description = "CPU Utilization in fraction (warning threshold)" type = "string" - default = 0.85 + default = 0.8 } variable "cpu_threshold_critical" {