Open PCNZ opened 1 year ago
@PCNZ Thank you for raising this and sorry you ran into trouble here.
The issue is introduced by #19487. @mbfrahry The azurerm_sentinel_alert_rule_template
is a data source, where we will parse the id that directly from Azure, rather than from what we construct ourselves. So in this case I think we shall keep the casing as is returned by Azure, especially for the alert rule template, the resource type segment is AlertRuleTemplates
rather than alertRuleTemplates
. Do you think we shall just revert the change in #19487 for the alert rule template part only? If yes, then I'll be happy to submit a PR for that.
@magodo Hi! I work with Pete. Let me see if I can explain a bit further some context:
Is there an existing issue for this?
Community Note
Terraform Version
1.3.2
AzureRM Provider Version
3.34.0
Affected Resource(s)/Data Source(s)
azurerm_sentinel_alert_rule_ms_security_incident
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
No response
Actual Behaviour
No response
Steps to Reproduce
Deploy using this (no version specified - defaults to lastest)
terraform { required_providers { azurerm = { source = "hashicorp/azurerm" } } backend "azurerm" { } }
To workaround hard set the version to 3.33.0 and the deploy works terraform { required_providers { azurerm = { source = "hashicorp/azurerm" version = "3.33.0" } } backend "azurerm" { } }
Important Factoids
No response
References
https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/sentinel_alert_rule_ms_security_incident