Skip to content

Commit

Permalink
docs: Updated readme with diagram
Browse files Browse the repository at this point in the history
  • Loading branch information
jousby committed Nov 24, 2022
1 parent ff83169 commit f4805a0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ your application is deployed and tries to connect.
but currently this construct only supports Amazon RDS Instances (mysql or postgres) and Amazon RDS Aurora
Clusters (mysql or postgres).

## Construct Design

It copies the sql scripts in your local project to an S3 bucket. It uses an AWS Custom Resource to trigger a Lambda function call that takes the scripts from S3 and runs them against the target database. The lambda function is packaged up as a docker image with the 'migrate' cli bundled in.

![db-migrate-cdk design](./docs/db-migrate-cdk.png)

## Cool things you can do with this construct

As part of the CDK stack that provisions your database:
Expand Down
Binary file added docs/db-migrate-cdk.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f4805a0

Please sign in to comment.