terraform-provider-azurerm
terraform-provider-azurerm copied to clipboard
Support for data collection rule association
Is there an existing issue for this?
- [X] I have searched the existing issues
Community Note
- Please vote on this issue by adding a :thumbsup: 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
Description
azurerm_monitor_data_collection_rule was added in 3.15 (I think), but the DCRs are not really useful without associating them with a resource/scope. I'd like to see support for Microsoft.Insights/dataCollectionRuleAssociations@2021-04-01.
New or Affected Resource(s)/Data Source(s)
azurerm_monitor_data_collection_rule_association
Potential Terraform Configuration
# (I think?)
resource "azurerm_monitor_data_collection_rule_association" "example" {
name = ""
description = ""
scope = ""
data_collection_rule_id = ""
}
References
No response
Hi @StephenCleary , thanks for open this issue. After this azurerm_monitor_data_collection_endpoint PR https://github.com/hashicorp/terraform-provider-azurerm/pull/17684 is merged, I am going to submit PR for azurerm_monitor_data_collection_associationwhich I believe will coming in near future.
Hi @StephenCleary , the azurerm_monitor_data_collection_association PR https://github.com/hashicorp/terraform-provider-azurerm/pull/17948 has been submitted.
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.