This repo contains policy documents that Cloud Custodian will consume.
Cloud Custodian is a tool that unifies the dozens of tools and scripts most organizations use for managing their AWS accounts into one open source tool. It’s a stateless rules engine for policy definition and enforcement, with metrics and detailed reporting for AWS.
Read the Cloud Custodian documentation for more details.
Policies are automatically validated via CircleCI. It runs Cloud Custodian in a Docker container that includes:
- Python version 2.7.14
- Cloud Custodian version 0.8.44.2
Leverage CloudFormation and these templates as a reference for creating message queues and a role for the lambdas to run:
One or more policies are defined in a yaml file. A policy specifies the following items:
- The type of resource to run the policy against
- Filters to select the set of target resources
- Actions to take on the filtered set of resources
Policies can be run from your laptop or as AWS Lambdas.