CASH is a self-service tool for deploying and managing Cloud Custodian policies. Our default policies are intended to help you manage finances and operations within AWS. We offer 15 policies in our library now, but you are free to add any more custodian policies as you see fit. You can also pitch new policies to the Cloud Governance Council if you believe it would help out other teams at Pearson.
Download the zipped folder from the PCM downloads page. Unzip, 'cd' into the directory, and follow the README instructions to set up your virtual environment. You must have Python 3 and aws-runas installed. You must also have PCMPowerUser access in your account in order to use CASH.
./cash.sh list-policies
aws-runas my-profile ./cash.sh get-config
aws-runas my-profile ./cash.sh deploy-config
-h
to bring up the help menu for more clarity. -f
with a file path to use that as your config file for saving results (using get-config) or deploying new
Lambdas (using deploy-config). If this flag isn't set, CASH will use config.yaml by default.aws-runas my-profile ./cash.sh deploy-config -f deploy-this-config.yaml
-d
when running deploy-config to delete any custodian Lambdas in the account that weren't
included in the config file. Any custodian Lambdas required by Cloud Governance will not be deleted.aws-runas my-profile ./cash.sh deploy-config -d
For more information, including how to create exceptions and a comprehensive policy list, check out CASH's Neo page.