forked from gettek/terraform-azurerm-policy-as-code
-
Notifications
You must be signed in to change notification settings - Fork 0
/
outputs.tf
39 lines (34 loc) · 1.22 KB
/
outputs.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
output id {
description = "The Id of the Policy Set Definition"
value = local.initiative_id
}
output name {
description = "The name of the Policy Set Definition"
value = var.initiative_name
}
output parameters {
description = "The combined parameters of the Policy Set Definition"
value = local.parameters
}
output metadata {
description = "The metadata of the Policy Set Definition"
value = local.metadata
}
output role_definition_ids {
description = "Role definition IDs for remediation"
value = local.all_role_definition_ids
}
output initiative {
description = "The combined Policy Initiative resource node"
value = {
id = local.initiative_id
name = var.initiative_name
display_name = var.initiative_display_name
description = var.initiative_description
management_group_id = var.management_group_id
parameters = local.parameters
metadata = jsonencode(local.metadata)
policy_definition_reference = azurerm_policy_set_definition.set.policy_definition_reference
role_definition_ids = local.all_role_definition_ids
}
}