Skip to content

Commit

Permalink
Migrating to SST
Browse files Browse the repository at this point in the history
  • Loading branch information
fwang committed Oct 7, 2020
1 parent fdfcc89 commit a233b0b
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const stage = process.env.stage;
const adminPhoneNumber = "+14157124747";
const adminPhoneNumber = "+14151234567";

const stageConfigs = {
dev: {
Expand Down
1 change: 0 additions & 1 deletion serverless.common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ custom:
sstAppMapping:
prod: prod
dev: dev
sst: sst
sstApp: ${self:custom.sstAppMapping.${self:custom.stage}, self:custom.sstAppMapping.dev}-notes-ext-infra

lambdaPolicyXRay:
Expand Down
3 changes: 1 addition & 2 deletions services/billing-api/serverless.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
service: notes-app-ext-billing-api
frameworkVersion: ">=2.3.0"

plugins:
- serverless-bundle
Expand All @@ -12,7 +11,7 @@ package:

provider:
name: aws
runtime: nodejs10.x
runtime: nodejs12.x
stage: dev
region: us-east-1
tracing:
Expand Down
3 changes: 1 addition & 2 deletions services/notes-api/serverless.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
service: notes-app-ext-notes-api
frameworkVersion: ">=2.3.0"

plugins:
- serverless-bundle
Expand All @@ -12,7 +11,7 @@ package:

provider:
name: aws
runtime: nodejs10.x
runtime: nodejs12.x
stage: dev
region: us-east-1
tracing:
Expand Down
3 changes: 1 addition & 2 deletions services/notify-job/serverless.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
service: notes-app-ext-notify-job
frameworkVersion: ">=2.3.0"

plugins:
- serverless-bundle
Expand All @@ -11,7 +10,7 @@ package:

provider:
name: aws
runtime: nodejs10.x
runtime: nodejs12.x
stage: dev
region: us-east-1
environment:
Expand Down

0 comments on commit a233b0b

Please sign in to comment.