Sample repository for converting terraform plans into eventbridge events, so you can track infrastructure of interest.
This allows for tracking of SLOs as a platform engineering team for activities such as account requests, access requests, etc.
In a real-world scenario you would embed the plan2event.py
into your CI build to generate the request events, and into your CD build to generate the created events. However, for the proof of concept we'll do that locally.
The slides are available here
- Python 3.8 installed and available
- AWS SAM CLI installed
- Terraform 1.0+ installed
. awsume <your-role-name>
sam build && sam deploy
cd account
make init
make plan
make requested
make created
cd ../dashboard
./build_and_run.sh
- Open
http://localhost:3000/d/g88YDO2Gz/slos?orgId=1
- Log in with
admin/admin