From e3bcbcfb7bd903522d3adc8c41341db0a2f78919 Mon Sep 17 00:00:00 2001 From: Dominic Robinson Date: Wed, 4 Sep 2024 15:55:33 +0100 Subject: [PATCH] update planet dash and add custom to default --- terraform/environments/hmpps-oem/locals.tf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/terraform/environments/hmpps-oem/locals.tf b/terraform/environments/hmpps-oem/locals.tf index 5d62da03c02..57ae2414aab 100644 --- a/terraform/environments/hmpps-oem/locals.tf +++ b/terraform/environments/hmpps-oem/locals.tf @@ -21,6 +21,7 @@ locals { baseline_presets_all_environments = { options = { cloudwatch_dashboard_default_widget_groups = [ + "custom", "network_lb", "lb", "ec2", @@ -31,7 +32,7 @@ locals { "ec2_instance_textfile_monitoring", "ec2_windows", ] - # cloudwatch_metric_alarms_default_actions = ["pagerduty"] # disabled to prevent duplication on cross-account alarms + cloudwatch_metric_alarms_default_actions = ["pagerduty"] enable_backup_plan_daily_and_weekly = true enable_business_unit_kms_cmks = true enable_ec2_cloud_watch_agent = true @@ -161,7 +162,7 @@ locals { periodOverride = "auto" start = "-PT6H" widget_groups = [ - module.baseline_presets.cloudwatch_dashboard_widget_groups.lb, + module.baseline_presets.cloudwatch_dashboard_widget_groups.network_lb, module.baseline_presets.cloudwatch_dashboard_widget_groups.ec2, module.baseline_presets.cloudwatch_dashboard_widget_groups.ec2_windows, ]