Look through Cloudflare records to find the ones that contain a certain substring in their name and then send emails with that list via AWS SES.
This project uses CDK to deploy to AWS. For development, use Docker Compose or install the CDK CLI.
To build and deploy:
- Build the Go binary:
CGO_ENABLED=0 go build -C src -tags lambda.norpc -ldflags="-s -w" -o bin/bootstrap ./main.go
- Deploy using CDK:
docker compose run --rm cdk cdk deploy
or simply cdk deploy
if you installed the CLI.
- Use the Terraform CLI to taint the old access key
- Run a new plan on Terraform Cloud
- Review the new plan and apply if it is correct
- Copy the new key and secret from the Terraform output into Github Repository Secrets, overwriting the old values
- Manually rerun the most recent workflow run on the main branch
(TBD)