repositorypackage
0.3.0
Repository: https://github.com/tetsuya28/aws-cost-report.git
Documentation: pkg.go.dev
# README
What is aws_cost_usage
Notify daily cost usage of an AWS account to slack channel.
How to use this
Execution
Lambda
You can deploy with Terraform resources on your AWS account with AWS Lambda.
terraform {
required_version = "1.6.6"
required_providers {
aws = {
source = "hashicorp/aws"
version = "5.31.0"
}
github = {
source = "integrations/github"
version = "5.42.0"
}
}
}
module "cost" {
source = "github.com/tetsuya28/aws_cost_report.git//module"
name = "aws-cost-report" # AWS resource name to deploy Lambda, IAM, etc
slack_channel = "#random" # Slack channel to notify
slack_token = "xoxb-xxx" # Slack token
build_version = "v0.1.0" # default : latest
}
Others
You can download binary from GitHub Release.
Support multi languages
- English
- Set
LANGUAGE=en
- Set
- Japanese
- Set
LANGUAGE=ja
- Set
Development
- Init
cp .env{.sample,}
- Run locally
make run