-
Notifications
You must be signed in to change notification settings - Fork 78
/
outputs.tf
59 lines (51 loc) · 2.42 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
output "subscription_id" {
value = local.subscription_id
description = "The subscription_id is the Azure subscription id that resources have been deployed into."
}
output "subscription_resource_id" {
value = local.subscription_resource_id
description = "The subscription_resource_id is the Azure subscription resource id that resources have been deployed into"
}
output "virtual_network_resource_ids" {
value = local.virtual_network_resource_ids
description = "A map of virtual network resource ids, keyed by the var.virtual_networks input map. Only populated if the virtualnetwork submodule is enabled."
}
output "virtual_network_resource_group_ids" {
value = local.virtual_network_resource_group_ids
description = "A map of resource group ids, keyed by the var.virtual_networks input map. Only populated if the virtualnetwork submodule is enabled."
}
output "management_group_subscription_association_id" {
value = var.subscription_management_group_association_enabled ? module.subscription[0].management_group_subscription_association_id : null
description = <<DESCRIPTION
The management_group_subscription_association_id output is the ID of the management group subscription association.
Value will be null if `var.subscription_management_group_association_enabled` is false.
DESCRIPTION
}
output "umi_client_id" {
description = <<DESCRIPTION
The client id of the user managed identity.
Value will be null if `var.umi_enabled` is false.
DESCRIPTION
value = one(module.usermanagedidentity) != null ? one(module.usermanagedidentity).client_id : null
}
output "umi_tenant_id" {
description = <<DESCRIPTION
The tenant id of the user managed identity.
Value will be null if `var.umi_enabled` is false.
DESCRIPTION
value = one(module.usermanagedidentity) != null ? one(module.usermanagedidentity).tenant_id : null
}
output "umi_principal_id" {
description = <<DESCRIPTION
The principal id of the user managed identity, sometimes known as the object id.
Value will be null if `var.umi_enabled` is false.
DESCRIPTION
value = one(module.usermanagedidentity) != null ? one(module.usermanagedidentity).principal_id : null
}
output "umi_id" {
description = <<DESCRIPTION
The Azure resource id of the user managed identity.
Value will be null if `var.umi_enabled` is false.
DESCRIPTION
value = one(module.usermanagedidentity) != null ? one(module.usermanagedidentity).umi_id : null
}