-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
INitial Lambda and SQS data validator
- Loading branch information
Showing
8 changed files
with
178 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
FROM --platform=linux/amd64 public.ecr.aws/lambda/python:3.12 | ||
|
||
RUN dnf install -y git | ||
|
||
COPY lambda_requirements.txt ${LAMBDA_TASK_ROOT}/requirements.txt | ||
|
||
RUN pip install -r requirements.txt --target "${LAMBDA_TASK_ROOT}" | ||
|
||
COPY src/ ${LAMBDA_TASK_ROOT} | ||
|
||
# Pass the name of the function handler as an argument to the runtime | ||
CMD [ "regtech_data_validator.lambda_wrapper.lambda_handler" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
FROM --platform=linux/amd64 python:3.12 | ||
|
||
WORKDIR /usr/app | ||
|
||
COPY sqs_requirements.txt requirements.txt | ||
|
||
RUN pip install -r requirements.txt | ||
|
||
COPY src/ . | ||
|
||
ENV PYTHONPATH "${PYTHONPATH}:/usr/app" | ||
|
||
CMD python regtech_data_validator/sqs_wrapper.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
polars | ||
awslambdaric | ||
pandera | ||
ujson | ||
boto3 | ||
tabulate | ||
fsspec | ||
s3fs | ||
sqlalchemy | ||
pydantic | ||
psycopg2-binary | ||
pyarrow |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
polars | ||
pandera | ||
ujson | ||
boto3 | ||
tabulate | ||
fsspec | ||
s3fs | ||
sqlalchemy | ||
pydantic | ||
psycopg2-binary | ||
pyarrow |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters