Skip to content

Commit e1d91cc

Browse files
committed
done with setting up tables
1 parent 1e12bac commit e1d91cc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/content/set-up-tables-1.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,15 +75,15 @@ We are doing the same thing here, only difference is that we made the Sort Key t
7575
7676
Now we need to reference it in our \`serverless.yml\`:
7777
78-
```
78+
```YAML
7979
resources:
8080
- ${file(resources/listing-db.yml)}
8181
- ${file(resources/bookingDB.yml)}
8282
```
8383
8484
In the same file we need to create those tables in the custom section of the file:
8585
86-
```
86+
```YAML
8787
custom:
8888
stage: ${opt:stage, self:provider.stage}
8989
region: ${opt:region, self:provider.region}
@@ -97,7 +97,7 @@ custom:
9797
9898
As we well as create them as environment variables and add IAM role statements for this Lambda:
9999
100-
```
100+
```YAML
101101
provider:
102102
name: aws
103103
runtime: nodejs10.x

0 commit comments

Comments
 (0)