Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to setup Billing Alerts from Terraform #870

Open
loganmarchione opened this issue Aug 23, 2022 · 0 comments
Open

Add ability to setup Billing Alerts from Terraform #870

loganmarchione opened this issue Aug 23, 2022 · 0 comments
Labels
do-api Depends on changes to the DigitalOcean API enhancement-provider

Comments

@loganmarchione
Copy link

Is your feature request related to a problem? Please describe.

The AWS Terraform provider has a resource called aws_budgets_budget that allows you to setup a budget (e.g., $5/month) and get a notification (e.g., email) when your usage goes over that amount.

https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/budgets_budget

Describe the solution you'd like

DigitalOcean has this feature, but it's not configurable via Terraform. I'm requesting it be added to the provider.

Describe alternatives you've considered

I don't see an API endpoint for this feature (where can I make a feature request?), but I'm guessing you could use this and grab the latest invoice and the amount?

https://docs.digitalocean.com/reference/api/api-reference/#operation/invoices_list

Additional context

N/A

@andrewsomething andrewsomething added the do-api Depends on changes to the DigitalOcean API label Aug 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do-api Depends on changes to the DigitalOcean API enhancement-provider
Projects
None yet
Development

No branches or pull requests

2 participants