Lambda project for detecting flappy resources in AWS.
Flappy Detector requires the following to be installed:
python >= 3.8
tox >= 2.9.1
docker
serverless
npm
nodejs
tox
will automatically execute linters as well as the unit tests.
To see all the available options, run tox -l
.
-
npm install
The Serverless Framework project depends on a few plugins defined inpackage.json
. This will install them. -
sls deploy -s <stage>
Stage is typically the environment such asci
or the account likeprod
-
sls invoke -s <stage> -f hello
The sample generated function is namedhello
. Thesls invoke
command can be used to test lambdas directly before invoking them via a AWS event (API Gateway, SNS, Cloudwatch, etc)