Skip to content

Commit

Permalink
change locals (#7704)
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsweetman authored Sep 6, 2024
1 parent 92a1244 commit 786403d
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
1 change: 1 addition & 0 deletions terraform/environments/oasys/locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ locals {
"ec2_instance_oracle_db_with_backup",
"ec2_instance_textfile_monitoring",
]
cloudwatch_metric_alarms_default_actions = ["pagerduty"]
cloudwatch_metric_oam_links_ssm_parameters = ["hmpps-oem-${local.environment}"]
cloudwatch_metric_oam_links = ["hmpps-oem-${local.environment}"]
db_backup_more_permissions = true
Expand Down
1 change: 0 additions & 1 deletion terraform/environments/oasys/locals_preproduction.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ locals {
baseline_presets_preproduction = {
options = {

cloudwatch_metric_alarms_default_actions = ["pagerduty"]
sns_topics = {
pagerduty_integrations = {
pagerduty = "oasys-preproduction"
Expand Down
5 changes: 2 additions & 3 deletions terraform/environments/oasys/locals_production.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@ locals {

baseline_presets_production = {
options = {
cloudwatch_log_groups_retention_in_days = 90
cloudwatch_metric_alarms_default_actions = ["pagerduty"]
db_backup_lifecycle_rule = "rman_backup_one_month"
cloudwatch_log_groups_retention_in_days = 90
db_backup_lifecycle_rule = "rman_backup_one_month"

sns_topics = {
pagerduty_integrations = {
Expand Down
1 change: 0 additions & 1 deletion terraform/environments/oasys/locals_test.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ locals {
baseline_presets_test = {
options = {

cloudwatch_metric_alarms_default_actions = ["pagerduty"]
enable_observability_platform_monitoring = true
sns_topics = {
pagerduty_integrations = {
Expand Down

0 comments on commit 786403d

Please sign in to comment.