Cluster-level Terraform

This module is responsible for setting up our Global alerting Terraform.

Things like "We only have one PagerDuty endpoint"

Note: For architectural decisions made in Terraform, this wraps the cluster_alerts module very very hard.

Enabling Terraform

git clone https://github.com/hashivim/vim-terraform.git ~/.vim/pack/plugins/start/vim-terraform  # If you use vim ever
terraform init
terraform get

Running changes

Only use this for deployment accounts. For the secrets account setup, see the secrets/ sub-folder

For simplicity:

./setup_alerts.sh

DANGER DANGER DANGER

So our environment-level alerting conditions are setup to run against our previously created endpoints

If those endpoints are replaced, then you need to re-build the cluster level alerts on every cluster