Some simple scripts to get random message/image from
- DevOps Reactions
- Dilbert
- fortune | cowsay
- xkcd
- Support deployment as AWS Lambda Function with CDK v2 for DevOps Reactions, Dilbert and xkcd.
- Can be run separatedly as a Python function.
- Install CDK v2:
npm install -g aws-cdk@next
- Update env_dev.json
# Create and activate a virtual env
pip install -r requirements.txt
./build_lambda.sh
cdk ls
cdk synth
cdk deploy
./test_lambda.sh
rm -rf package/
rm -rf cdk_smile/__pycache__
rm -rf cdk.out/