Alert on AWS budget overruns in Slack and trigger cost controls
Build a workflow triggered by an AWS Budgets alert (via SNS to a webhook). Parse the budget name, threshold, actual vs. forecast spend, and account, then post a formatted Slack message to the FinOps channel. Optionally take action such as opening a ticket or invoking a remediation function for the offending service. Deduplicate repeat alerts for the same budget within a period, handle malformed SNS payloads, and verify the message signature. Output the notification sent and any action triggered.
What this prompt builds
Notify finance and engineering in Slack the moment an AWS budget threshold is breached, and act on it.
The problem
Cloud spend silently blows past budget because alerts sit in email or the AWS console where no owner sees them in time. By the time finance notices the overrun, the money is already spent.
Solution and impact
This workflow catches AWS budget alerts, posts a clear breakdown to a Slack channel, and can trigger follow-up cost-control actions. Finance gets real-time visibility into overspend and can react the same day instead of at month-end reconciliation.