Lambda function that triggers on new files in S3 le-test-stp-textract-results / le-prod-stp-textract-results and send processed invoice data to svc-invoice. If succeeds, move data from /extracted to /processed.
See config files in ./deploy
folder for lambda naming and S3 bucket names.
To deploy run the following JOBS on jenkins
TODO: configure jenkins
To deploy locally install the AWS CLI and run the following:
TEST
$ yarn deploy-test
PRODUCTION
$ yarn deploy-production
To tail logs locally install the AWS CLI and run the following:
TEST
$ yarn logs-test
PRODUCTION
$ yarn logs-production
- TBA