This is an example of how to use Terraform to establish an alert when the forecasted budget is to be exceeded. Alerts can be sent to any email address (or phone as a text message if you leverage email to SMS).
nickda/aws-billing-alert
This repository includes example Terraform code to establish billing alerts in AWS
HCL