File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
modules/agentless-scanning Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ data "azurerm_management_group" "management_groups" {
13
13
}
14
14
15
15
locals {
16
- subscriptions = toset (var. is_organizational && length (var. management_group_ids ) == 0 ? data. azurerm_management_group . root_management_group [0 ]. subscription_ids :
17
- flatten ([for m in data . azurerm_management_group . management_groups : m . subscription_ids ]))
16
+ subscriptions = toset (var. is_organizational && length (var. management_group_ids ) == 0 ? data. azurerm_management_group . root_management_group [0 ]. all_subscription_ids :
17
+ flatten ([for m in data . azurerm_management_group . management_groups : m . all_subscription_ids ]))
18
18
}
19
19
20
20
resource "azurerm_lighthouse_assignment" "lighthouse_assignment_for_tenant" {
You can’t perform that action at this time.
0 commit comments