Skip to content

Commit c577da3

Browse files
authored
Fix appsync sample (#232)
* Fix dynamodb schema issue * Correct appsync endpoint url
1 parent a8e6c12 commit c577da3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

appsync-graphql-api/serverless.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ resources:
1818
KeySchema:
1919
- AttributeName: id
2020
KeyType: HASH
21+
BillingMode: PAY_PER_REQUEST
2122
RDSCluster:
2223
Type: AWS::RDS::DBCluster
2324
Properties:
@@ -83,7 +84,7 @@ custom:
8384
stages:
8485
- local
8586
endpoints:
86-
AppSync: http://localhost:4605
87+
AppSync: http://localhost:4566
8788

8889
plugins:
8990
- serverless-localstack

0 commit comments

Comments
 (0)