remediation task not working as expected
Nikhleshk opened this issue · comments
Used this code in assignmemt.org
module "org_mg_Network-Watcher_initiative" {
source = "..//modules/set_assignment"
initiative = module.Network-Watcher_initiative.initiative
assignment_scope = data.azurerm_management_group.org.id
assignment_effect = "DeployIfNotExists"
skip_remediation = false
skip_role_assignment = false
role_definition_ids = module.Network-Watcher_initiative.role_definition_ids
assignment_parameters = {
effect1 = "AuditIfNotExists"
listOfLocations = [
"WestEurope",
"NorthEurope",
"EastUS"
]
}
}
Policy is getting assigned properly but remediation not as expected.
closing duplicate issue #28