Reputation: 185
I'm trying to replicate the process of creating an Azure budget alert in the portal through terraform.
In the portal, I navigate to Cost Management + Billing, then onto cost alerts and I'm able to create a alert with my conditions for the entire subscription for the budget not to exceed a certain amount otherwise to send an email to a specific group or person.
I'm able to create an action group in terraform through azurerm_monitor_action_group but how do I create an alert for the budget. I don't see any valid documentations for it.
Upvotes: 4
Views: 3543
Reputation: 6477
There are official resources now: azurerm_consumption_budget_resource_group
, azurerm_consumption_budget_management_group
and azurerm_consumption_budget_subscription
Upvotes: 2
Reputation: 185
I found this provider that can be leveraged into terraform to create budget alert for the time being. Hope this helps anyone looking
Upvotes: 3
Reputation: 6561
As of March 16, 2021 it is still WIP, but the feature is coming.
You can track the progress here:
Upvotes: 2