Skip to content

Commit aedbb57

Browse files
committed
fix reade
1 parent 5954a74 commit aedbb57

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

README.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
The Amazon RDS initialization using CDK sample application demonstrates how LocalStack supports RDS instances initialization using CDK and CloudFormation Custom Resources. The sample application implements a Node.js Lambda function for compute layer, which is able to run custom SQL scripts. It also executes custom commands supported by the [Node.js client for MySQL2](https://www.npmjs.com/package/mysql2). To test this application sample, we will demonstrate how you use LocalStack to deploy the infrastructure on your developer machine and your CI environment and use a Lambda function to run queries against the RDS database after successful deployment.
1616

17-
## Architecture Diagram
17+
## Architecture
1818

1919
The following diagram shows the architecture that this sample application builds and deploys:
2020

@@ -91,14 +91,6 @@ CDK deployed successfully.
9191

9292
## Testing
9393

94-
## Use Cases
95-
96-
## Summary
97-
98-
## Learn more
99-
100-
## Test the Sample
101-
10294
The sample application sets up the database by creating tables and inserting dummy data. It includes a Lambda function named `my-lambda-rds-query-helper`, which is used to run SQL queries against the RDS database.
10395

10496
This function requires two parameters:
@@ -129,6 +121,12 @@ After invoking the function, you can view the results using the command `cat out
129121
{"status":"SUCCESS","results":[{"Author":"Jane Doe"},{"Author":"Jane Doe"},{"Author":"LocalStack"}]}
130122
```
131123

124+
You can run full end-to-end integration tests using the following command:
125+
126+
```shell
127+
make test
128+
```
129+
132130
## Use Cases
133131

134132
### Pre-seeding Databases

0 commit comments

Comments
 (0)