This repository contains Python that converts the summary data from a DriftCtl scan into an Amazon EventBridge event.
It additionally includes the required Terraform to capture and forward the event to and Amazon EventBridge bus of your choosing.
- Pipenv (developed with v2022.8.15)
- Terraform (developed with v1.3)
- DriftCtl (developed with v0.35)
- Make (developed with v3.81)
- Assume a role in the target account
- Set a
STATEFILESenvironment variable containing a space delimited list of state file locations. E.g.export STATEFILES="terraform.tfstate s3://my-state-bucket/terraform.tfstate" make run
- Create a
terraform.tfvarsfile - Add variables for
centralised_account_idandtarget_bus_nameas required - Ensure the target Amazon EventBridge bus will accept events from the account
- Validate your configuration with
make plan make deploy