Skip to content

AWS Budget alarms with AWS Chatbot sending alarms to slack

Notifications You must be signed in to change notification settings

globaldatanet/aws-budget-alarms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

aws-budget-alarms

A CloudFormation template for sending budget alarms to slack using AWS Chatbot

Preview

Slack Notification

Prerequisites

  • Configure a chat client in AWS Chatbot

  • Invite the AWS Chatbot to your Slack channel: /invite @aws

  • Slack channel ID: right-clicking the channel you want to use > Additional Options > Copy Link

Slack Channel ID

https://mycompany.slack.com/archives/SlackChannelId

(Only provide the string after /archives/)

Installation

The installation is automated with Infrastructure as Code using Cloudformation.

The stack includes:

  • IAM Chatbot role
  • SNS Topic
  • SNS Topic Policy
  • AWS Budget
  • AWS Chatbot Configuration for Slack

AWS CLI

Deploy as Cloudformation stack:

aws cloudformation deploy \
    --template-file CF-BudgetNotification-Chatbot.yaml \
    --stack-name CF-BudgetNotification-Chatbot \
    --capabilities CAPABILITY_IAM \
    --parameter-overrides \
    BudgetLimit=<limit-in-USD> \
    CostNotification=<ACTUAL | FORECASTED> \
    SlackChannel=<your-slack-channel-id> \
    SlackWorkspaceId=<your-aws-chatbot-workspace-id-for-slack> \
    --region <your-region-1>

About

AWS Budget alarms with AWS Chatbot sending alarms to slack

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published