Skip to content
This repository has been archived by the owner on Jan 9, 2024. It is now read-only.

Commit

Permalink
chore(pagerduty):  [SOCIALPLAT-700] Remove this service from Tier 1 P…
Browse files Browse the repository at this point in the history
…agerDuty policy (#820)
nina-py authored Oct 6, 2023
1 parent 0590ab2 commit be7c061
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .aws/src/main.ts
Original file line number Diff line number Diff line change
@@ -110,8 +110,9 @@ class ListAPI extends TerraformStack {
return new PocketPagerDuty(this, 'pagerduty', {
prefix: config.prefix,
service: {
// This is a Tier 2 service and as such only raises non-critical alarms.
criticalEscalationPolicyId: incidentManagement
.get('policy_default_critical_id')
.get('policy_default_non_critical_id')
.toString(),
nonCriticalEscalationPolicyId: incidentManagement
.get('policy_default_non_critical_id')
@@ -446,7 +447,7 @@ class ListAPI extends TerraformStack {
threshold: 25,
evaluationPeriods: 4,
period: 300,
actions: config.isDev ? [] : [pagerDuty.snsCriticalAlarmTopic.arn],
actions: config.isDev ? [] : [pagerDuty.snsNonCriticalAlarmTopic.arn],
},
},
});

0 comments on commit be7c061

Please sign in to comment.