The way the custom parameter work in this case is not straight forward. It might just be a simple copy-paste error:
In the custom settings, there are only two local variables defined for the overrides:
custom_settings_dcr_vm_insights
custom_settings_dcr_change_tracking
So from my understanding, there is already one missing, the one for sql.
Then, when used, in the same file, things get mixed up. For example, it seems not possible to explicitly specify the three data collection rule names.
Also from what I can see, the way to set tags for all management resources using configure_management_resources.tags does not work for the new resources.
Community Note
Versions
terraform:
azure provider:
module: 6.0.0
Description
I want to customize the new management resources. This works fine for some parts, and not for others. I saw the following:
In the submodule "management", there are ultimately three data collection rules which are defined:
The way the custom parameter work in this case is not straight forward. It might just be a simple copy-paste error: In the custom settings, there are only two local variables defined for the overrides:
So from my understanding, there is already one missing, the one for sql.
Then, when used, in the same file, things get mixed up. For example, it seems not possible to explicitly specify the three data collection rule names.
Also from what I can see, the way to set tags for all management resources using configure_management_resources.tags does not work for the new resources.
Describe the bug
Steps to Reproduce
Screenshots
Additional context