Hello,
when I put this code into my TF file
resource "azurerm_security_center_auto_provisioning" "example" {
auto_provision = "On"
}
the switch for autoprovisioning is turned to “enabled” in 1 subscription. I have 4 different subscriptions and I want it to be enabled on all of my subscriptions.
How can I do this as there is no parameter like “subscription” available?
Otherwise, Defender for Cloud always complains that 3 of my 4 subscriptions are not correctly configured as this switch should be set to enabled.
But I don’t want to change this in the GUI, it shall be deployed by terraform