RedHatQE / aws-cost-reporter

Report WAS costs to slack

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Get AWS total cost

This is a simple tool to get AWS total cost

Usage (Local)

poetry install
poetry run python app/reporter.py

Usage (Container)

docker build -t aws-cost-slack-reporter .
docker run --rm aws-cost-slack-reporter

Configuration

accounts YAML file with AWS credentials:

accounts:
  account-name:
    secret_access_key: "Secret Access Key" # pragma: allowlist secret
    access_key_id: "Access Key ID" # pragma: allowlist secret

export AWS_COST_REPORTER_CONFIG="path to accounts YAML file"

About

Report WAS costs to slack


Languages

Language:Python 94.7%Language:Dockerfile 5.3%