Skip to content

Commit

Permalink
update pagerduty integration for test, preproduction and production e…
Browse files Browse the repository at this point in the history
…nv (#7614)
  • Loading branch information
robertsweetman authored Aug 27, 2024
1 parent cd839ea commit b00b39b
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 9 deletions.
2 changes: 1 addition & 1 deletion terraform/environments/nomis-data-hub/locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ locals {
"ec2_instance_textfile_monitoring",
"ec2_windows",
]
cloudwatch_metric_alarms_default_actions = ["dso_pagerduty"]
cloudwatch_metric_alarms_default_actions = ["pagerduty"]
cloudwatch_metric_oam_links_ssm_parameters = ["hmpps-oem-${local.environment}"]
cloudwatch_metric_oam_links = ["hmpps-oem-${local.environment}"]
enable_azure_sas_token = true
Expand Down
5 changes: 0 additions & 5 deletions terraform/environments/nomis-data-hub/locals_development.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@ locals {
# disabling some features in development as the environment gets nuked
cloudwatch_metric_oam_links_ssm_parameters = []
cloudwatch_metric_oam_links = []
sns_topics = {
pagerduty_integrations = {
dso_pagerduty = "nomis_data_hub_nonprod_alarms"
}
}
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ locals {
options = {
sns_topics = {
pagerduty_integrations = {
dso_pagerduty = "nomis_data_hub_prod_alarms"
pagerduty = "nomis-data-hub-preproduction"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion terraform/environments/nomis-data-hub/locals_production.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ locals {
]
sns_topics = {
pagerduty_integrations = {
dso_pagerduty = "nomis_data_hub_prod_alarms"
pagerduty = "nomis-data-hub-production"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion terraform/environments/nomis-data-hub/locals_test.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ locals {
options = {
sns_topics = {
pagerduty_integrations = {
dso_pagerduty = "nomis_data_hub_nonprod_alarms"
pagerduty = "nomis-data-hub-test"
}
}
}
Expand Down

0 comments on commit b00b39b

Please sign in to comment.