https://github.com/wearetechnative/terraform-aws-module-cost-alerter
https://github.com/wearetechnative/terraform-aws-module-cost-alerter
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/wearetechnative/terraform-aws-module-cost-alerter
- Owner: wearetechnative
- License: apache-2.0
- Created: 2024-12-03T10:16:47.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-21T09:21:04.000Z (about 1 year ago)
- Last Synced: 2025-03-21T10:38:20.782Z (about 1 year ago)
- Language: Python
- Size: 193 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cost alerter
Automatically sets up and maintains per account cost usage alerts. Generally only works on management accounts.
- Automatically as in: Add alerts for new accounts and remove alerts for existing accounts.
- Usage defined as in: Costs controlled by usage only so excluding any tax and other incidental costs that are not related to use of AWS resources.
- Alert defined as: All alerts are being send to `var.master_observability_receiver_account_id` to end up in our LZ OpsGenie setup.
When alerts occur the user is expected to re-evaluate based on the budget created and manually increase the threshold by creating or adjusting an
entry in the budgets_thresholds.json file that is passed to the budgets_thresholds variable from the clients management account's CodeCommit iac repository.
## budget_thresholds variable structure:
### Example:
```
{
"Accounts" : {
"Tracklib" : { <-- Account name needs to match account names in organizations
"Id" : "782826450191",
"Budget" : "300.0"
},
"Tracklib Stage" : {
"Id" : "323546098264",
"Budget" : "11.0"
},
"Tracklib monitoring" : {
"Id" : "055036331264",
"Budget" : "15.0"
}
}
}
```