This code can be used to deploy a lambda function and associated resources to run aws-nuke
There are two dependencies that you need to setup prior to running the Terraform configuration files.
- pyyaml
- aws-nuke
From the root of the repo, run the following command using python version 3.9:
python -m pip install --target=./dependencies/pyyaml/python
Download the arm64 package from a release of aws-nuke. Extract the aws-nuke executable to the dependencies/aws-nuke directory and rename the file to aws-nuke
.