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
The text was updated successfully, but these errors were encountered:
philwelz
changed the title
azurerm_monitor_action_rule_suppression should have optional end_date_utcazurerm_monitor_action_rule_suppression should have optional end_date_utcJul 19, 2022
@philwelz This is caused by REST API version differences, this azurerm_monitor_action_rule_suppression is based on an old API version 2019-05-05-preview, which need required end_date. Action Rule in Azure Portal in based on a newer API version, maybe is 2021-08-08, which can have a optional end_date.
Besides, a newer version of Action Rule in TF based on newer API version is in PR review, you can try it in near future.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Is there an existing issue for this?
Community Note
Description
If you create a
azurerm_monitor_action_rule_suppression
resource via Terraform,end_date_utc
is required as per Terraform documentation.If you create this rule via Portal, the End date is optional. Terraform should also support this value as optional.
IT would be also good to seperate the date from the time, like it is done with bicep.
New or Affected Resource(s)/Data Source(s)
azurerm_monitor_action_rule_suppression
Potential Terraform Configuration
References
No response
The text was updated successfully, but these errors were encountered: