Skip to content

Commit fdcf7ce

Browse files
Add stage to alarm names
Co-authored-by: Jorge <Jorge.Azevedo@guardian.co.uk>
1 parent dba2961 commit fdcf7ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cdk/lib/footballnotificationslambda.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export class FootballNotificationsLambda extends GuStack {
8484
// Read Throttle Events Alarm
8585
new GuAlarm(this, 'MobileNotificationsFootballConsumedReadThrottleEvents', {
8686
app,
87-
alarmName: 'MobileNotificationsFootballConsumedReadThrottleEvents',
87+
alarmName: `MobileNotificationsFootballConsumedReadThrottleEvents-${stage}`,
8888
alarmDescription:
8989
'Triggers if DynamoDB ReadThrottleEvents >= 10 in 5 minutes',
9090
snsTopicName: 'dynamodb',
@@ -108,7 +108,7 @@ export class FootballNotificationsLambda extends GuStack {
108108
'MobileNotificationsFootballConsumedWriteThrottleEvents',
109109
{
110110
app,
111-
alarmName: 'MobileNotificationsFootballConsumedWriteThrottleEvents',
111+
alarmName: `MobileNotificationsFootballConsumedWriteThrottleEvents-${stage}`,
112112
alarmDescription:
113113
'Triggers if DynamoDB WriteThrottleEvents >= 10 in 5 minutes',
114114
snsTopicName: 'dynamodb',

0 commit comments

Comments
 (0)