terraform-provider-azurerm icon indicating copy to clipboard operation
terraform-provider-azurerm copied to clipboard

Support for data collection rule association

Open StephenCleary opened this issue 3 years ago • 2 comments

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

StephenCleary avatar Aug 01 '22 14:08 StephenCleary

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.

teowa avatar Aug 03 '22 07:08 teowa

Hi @StephenCleary , the azurerm_monitor_data_collection_association PR https://github.com/hashicorp/terraform-provider-azurerm/pull/17948 has been submitted.

teowa avatar Aug 10 '22 06:08 teowa

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.

github-actions[bot] avatar Oct 10 '22 02:10 github-actions[bot]