Skip to content

Commit

Permalink
Clarify a couple of details about localstack and database settings on…
Browse files Browse the repository at this point in the history
… the README
  • Loading branch information
brainstorm committed Nov 27, 2023
1 parent 1695079 commit b6ff2b7
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 27 deletions.
15 changes: 13 additions & 2 deletions lib/workload/stateful/filemanager/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,20 @@ npx cdklocal bootstrap
npx cdklocal deploy
```

**WARNING**: it's possible that a profile called "default" in `~/.aws/config` could interfere with awslocal.
It's possible that a profile called "default" in `~/.aws/config` could interfere with awslocal. A recommended `~/.aws/credentials` that works with localstack's dummy `0000000000` AWS account would look like this:

**WARNING**: Make sure there's no pre-existing deployment with `npx cdklocal destroy`, otherwise your stack might fail to deploy with `CREATE FAILED`.
```
[default]
aws_access_key_id = access_key
aws_secret_access_key = secret_key
```

Make sure there's no pre-existing deployment with `npx cdklocal destroy`, otherwise your stack might fail to deploy with `CREATE FAILED`.
Also, `cargo install sqlx-cli` tools to easy database migration helpers and perform migrations when needed:

```shell
cd database && sqlx migrate run
```

## Ingestion test

Expand Down
50 changes: 25 additions & 25 deletions lib/workload/stateful/filemanager/deploy/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b6ff2b7

Please sign in to comment.