Skip to content

Commit

Permalink
Merge pull request #62 from umccr/fix_sqs_events_upgrade_localstack
Browse files Browse the repository at this point in the history
Fix sqs events upgrade localstack
  • Loading branch information
brainstorm authored Nov 27, 2023
2 parents ff424e1 + b6ff2b7 commit 17946c6
Show file tree
Hide file tree
Showing 6 changed files with 5,190 additions and 3,349 deletions.
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"rust-analyzer.linkedProjects": [
"lib/workload/stateless/filemanager/Cargo.toml",
"lib/workload/stateful/filemanager/Cargo.toml",
"skel/rust-api/Cargo.toml"
]
}
33 changes: 16 additions & 17 deletions lib/workload/stateful/filemanager/Cargo.lock

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

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
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ create table object (
-- When this object was deleted, a null value means that the object has not yet been deleted.
deleted_date timestamptz default null,
-- The date of the object and its id combined.
portal_run_id varchar(255) not null,
portal_run_id varchar(255) not null
-- provenance - history of all objects and how they move?
);
);
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.

Loading

0 comments on commit 17946c6

Please sign in to comment.