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

Commit a277bb5

Browse files
authored
Merge pull request #237 from Pocket/downgrade-tier
feat(archive): downgrade from tier1 to tier2 alerting
2 parents 2de1b5a + 9e226ac commit a277bb5

File tree

4 files changed

+16
-15
lines changed

4 files changed

+16
-15
lines changed

.aws/package-lock.json

Lines changed: 11 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.aws/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"lint-fix": "eslint --fix \"src/**/*.ts\""
1313
},
1414
"dependencies": {
15-
"@pocket-tools/terraform-modules": "4.16.1"
15+
"@pocket-tools/terraform-modules": "4.16.2"
1616
},
1717
"devDependencies": {
1818
"@pocket-tools/tsconfig": "2.0.1",

.aws/src/main.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,9 @@ class ShareableListsAPI extends TerraformStack {
103103
new PocketAwsSyntheticChecks(this, 'synthetics', {
104104
alarmTopicArn:
105105
config.environment === 'Prod'
106-
? shareableListPagerduty.snsCriticalAlarmTopic.arn
107-
: '', // this should be improved, empty string recreates updates constantly as is in cdktf
108-
environment: process.env.NODE_ENV === 'development' ? 'Dev' : 'Prod', // yes we should use config.environment, but needs more refinment in module
106+
? shareableListPagerduty.snsNonCriticalAlarmTopic.arn
107+
: null,
108+
environment: config.environment,
109109
prefix: config.prefix,
110110
query: [
111111
{

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Shareable Lists API
2+
[Service Docs](https://getpocket.atlassian.net/wiki/spaces/PE/pages/2891776041/Shareable+Lists)
23

34
The API that manages the ability to create and share lists of related content.
45

0 commit comments

Comments
 (0)