azurerm_monitor_data_collection_rule, unable to set kind = "WorkspaceTransforms" #23868
Closed
1 task done
Labels
Milestone
Is there an existing issue for this?
Community Note
Terraform Version
1.6.3
AzureRM Provider Version
3.80
Affected Resource(s)/Data Source(s)
azurerm_monitor_data_collection_rule
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
In the example here, we must pass "kind" = "WorkspaceTransforms." If we do not pass this value, the DCR will not apply against the Log Analytics Workspace.
https://learn.microsoft.com/en-us/azure/azure-monitor/logs/tutorial-workspace-transformations-api
Actual Behaviour
We receive the following error: expected kind to be one of ["Linux" "Windows" "AgentDirectToStore"], got WorkspaceTransforms
It is not accepting the value required to transform the DCR within the Log Analytics Workspace.
Steps to Reproduce
terraform format
terraform validate
terraform plan
terraform apply
Important Factoids
n/a
References
n/a
The text was updated successfully, but these errors were encountered: