You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
We enabled smart detection rules and we would like to disable the actions for lower environments and as per document terraform is expecting action group. We went a head and tried with out providing the action block, the error we are getting is "│ At least 1 "action_group" blocks are required".
We can disable the actions for smart detection alert rules through console, but not through terraform.
Thanks for the issue. I have checked the REST API specification of the Smart Detection Alert Rule resource, action group is a required property thus cannot be omitted. To disable the actions for Smart Detection Alert Rule, maybe we can use enabled property. If you have further foundings, feel free to reply here.
Is there an existing issue for this?
Community Note
We enabled smart detection rules and we would like to disable the actions for lower environments and as per document terraform is expecting action group. We went a head and tried with out providing the action block, the error we are getting is "│ At least 1 "action_group" blocks are required".
We can disable the actions for smart detection alert rules through console, but not through terraform.
Terraform Version
1.2.0
AzureRM Provider Version
3.8.0
Affected Resource(s)/Data Source(s)
App Insights Alerts
Terraform Configuration Files
Debug Output/Panic Output
At least 1 "action_group" blocks are required. ╵ ╷ │ Error: Insufficient action_group blocks
Expected Behaviour
Should create with out actions
Actual Behaviour
No response
Steps to Reproduce
No response
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: