aws-cost-report

command module
v0.1.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 1, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

README

What is aws_cost_usage

Notify daily cost usage of an AWS account to slack channel.

How to use this

You can deploy with Terraform resources on your AWS account.

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
}

Development

  • Init
cp .env{.sample,}
  • Run locally
make run

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL