Due to the current situation, we all need to show Solidarity. Show flag 🇺🇦
- NodeJS >= 16.x
aws configure
- Python: 3.8.x
‼️ ‼️ (Recommendation: pyenv)
Using pyenv
There is a weird issue with Lambda Function and using Pillow library. Due to that, the function uses an open layer from Klayers. Please, consider that the lambda is currently only working with Python 3.8 Runtime. Make sure you install that also on your machine. As a recommendation, you could use pyenv.
pyenv install 3.8.12 # or any 3.8.x version
pyenv local 3.8.12
- AWS Step Function
- AWS S3
- AWS Lambda
- Amazon Rekognition
- AWS CDK with Python
- Vite + React
make install
If for some reason it does not work, here are the manual steps to install
python3 -m venv .venv
source .venv/bin/activate
pip install requirements.txt
This is what your infrastructure will look like
NOTE
Since CDK is not able to execute AWS SSO named profiles, make sure you have exported the variables
export AWS_ACCESS_KEY_ID="foo" export AWS_SECRET_ACCESS_KEY="bar" export AWS_SESSION_TOKEN="baz"
synth
creates Cloudformation in the infrastructure/cdk.out
.
make synth
# If you need to override the `CDK_DEFAULT_ACCOUNT`
CDK_DEFAULT_ACCOUNT=123456 make synth
# or
export CDK_DEFAULT_ACCOUNT=123456
make infra
# If you need to override the `CDK_DEFAULT_ACCOUNT`
CDK_DEFAULT_ACCOUNT=123456 make synth
# or
export CDK_DEFAULT_ACCOUNT=123456
If the Makefile
- command above not working, please check if you activate venv
.
source .venv/bin/activate
To run tests, run the following command
make test
make destroy_infra
make clean
Ukraine Flag Vectors by Vecteezy
Photo by Omid Armin on Unsplash.