Skip to content
This repository was archived by the owner on Jul 26, 2022. It is now read-only.

Upgrade to @guardian/cdk 8.0.1 #92

Merged
merged 2 commits into from
Apr 9, 2021
Merged

Upgrade to @guardian/cdk 8.0.1 #92

merged 2 commits into from
Apr 9, 2021

Conversation

jacobwinch
Copy link
Contributor

What does this change?

Upgrades to @guardian/cdk 8.0.1, primarily to pull in the alarm improvements from guardian/cdk#404.

How to test

I've confirmed that this change can be deployed successfully.

@@ -51,6 +54,7 @@ export class CdkStack extends GuStack {
},
schedule: Schedule.rate(lambdaFrequency),
monitoringConfiguration: {
alarmName: `High error % from ${app}-${this.stage}`,
Copy link
Contributor Author

@jacobwinch jacobwinch Apr 9, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This resource is being replaced (the logical id is changing). AWS attempts to create a new alarm before deleting the old one, so we need to use a different name or this operation fails (you cannot have 2 alarms with the same name). As it happens the new name is a bit better anyway 😄

@jacobwinch jacobwinch merged commit 397913c into main Apr 9, 2021
@jacobwinch jacobwinch deleted the jw-upgrade-gu-cdk branch April 9, 2021 13:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants