This CloudFormation template will create a billing alarm with a given threshold and subscribe the user to SMS notifications.
Requirements:
- Must be done in root-level AWS account
- Must be in the us-east-1 region
- Receive Billing Alerts must be enabled here: https://console.aws.amazon.com/billing/home?#/preferences