Skip to content

yasuhikomachino/aws-cost-notifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Aws Cost Notifier

Daily slack notifications of AWS monthly costs.

Overview

This application automatically notifies your Slack channel about AWS monthly costs on a daily basis, helping you track and monitor your AWS spending efficiently.

Prerequisites

  • Go 1.21.7 or later
  • Terraform 1.9.8 or later
  • AWS CLI 2.19.1 or later
  • Docker (for Lambda container image)
  • AWS Account with appropriate permissions

Setup

1. Configure AWS Profile

export AWS_PROFILE={YOUR_PROFILE}

2. Configure Slack Webhook

Store your Slack webhook URL in AWS Parameter Store.

Parameter name: SLACK_WEBHOOK_URL_COST_NOTIFIER Type: SecureString Value: Your Slack webhook URL

Deployment

cd infra

Initialize Terraform (First time only)

terraform init

Preview Changes

terraform plan -var-file=terraform.tfvars.{env}

Apply Changes

terraform apply -var-file=terraform.tfvars.{env}

Replace {env} with your target environment (stg/prod)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published