diff --git a/terraform/environments/nomis/locals_production.tf b/terraform/environments/nomis/locals_production.tf index 1a68a1bb1c0..21ecdcad093 100644 --- a/terraform/environments/nomis/locals_production.tf +++ b/terraform/environments/nomis/locals_production.tf @@ -232,7 +232,11 @@ locals { prod-nomis-db-1-b = merge(local.database_ec2, { cloudwatch_metric_alarms = merge( local.database_ec2_cloudwatch_metric_alarms, - module.baseline_presets.cloudwatch_metric_alarms.ec2_instance_cwagent_collectd_oracle_db_connected, + module.baseline_presets.cloudwatch_metric_alarms.ec2_instance_cwagent_collectd_oracle_db_connected, { + high-memory-usage = merge(local.database_ec2_cloudwatch_metric_alarms["high-memory-usage"], { + threshold = "99" # Sandhya confirmed this is OK while in DR mode + }) + } ) config = merge(local.database_ec2.config, { ami_name = "nomis_rhel_7_9_oracledb_11_2_release_2023-07-02T00-00-39.521Z" diff --git a/terraform/environments/nomis/locals_test.tf b/terraform/environments/nomis/locals_test.tf index e74f91404dd..ab83ad15a43 100644 --- a/terraform/environments/nomis/locals_test.tf +++ b/terraform/environments/nomis/locals_test.tf @@ -329,7 +329,7 @@ locals { autoscaling_group = merge(local.weblogic_ec2.autoscaling_group, { desired_capacity = 0 }) - ## cloudwatch_metric_alarms = local.weblogic_cloudwatch_metric_alarms + ## cloudwatch_metric_alarms = local.weblogic_cloudwatch_metric_alarms config = merge(local.weblogic_ec2.config, { ami_name = "nomis_rhel_6_10_weblogic_appserver_10_3_release_2023-03-15T17-18-22.178Z" instance_profile_policies = concat(local.weblogic_ec2.config.instance_profile_policies, [ @@ -434,7 +434,7 @@ locals { autoscaling_group = merge(local.weblogic_ec2.autoscaling_group, { desired_capacity = 0 }) - ## cloudwatch_metric_alarms = local.weblogic_cloudwatch_metric_alarms + ## cloudwatch_metric_alarms = local.weblogic_cloudwatch_metric_alarms config = merge(local.weblogic_ec2.config, { ami_name = "nomis_rhel_6_10_weblogic_appserver_10_3_release_2023-03-15T17-18-22.178Z" instance_profile_policies = concat(local.weblogic_ec2.config.instance_profile_policies, [