generated from Azure/terraform-azurerm-avm-template
-
Notifications
You must be signed in to change notification settings - Fork 12
/
outputs.tf
84 lines (68 loc) · 3.5 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
output "container_app_subnet_resource_id" {
description = "The subnet id of the container app job."
value = local.container_app_subnet_id
}
output "container_instance_names" {
description = "The names of the container instances."
value = local.deploy_container_instance ? { for key, value in module.container_instance : key => value.name } : null
}
output "container_instance_resource_ids" {
description = "The resource ids of the container instances."
value = local.deploy_container_instance ? { for key, value in module.container_instance : key => value.resource_id } : null
}
output "container_registry_login_server" {
description = "The container registry login server."
value = var.container_registry_creation_enabled ? module.container_registry[0].login_server : var.custom_container_registry_login_server
}
output "container_registry_name" {
description = "The container registry name."
value = var.container_registry_creation_enabled ? module.container_registry[0].name : null
}
output "container_registry_resource_id" {
description = "The container registry resource id."
value = var.container_registry_creation_enabled ? module.container_registry[0].resource_id : null
}
output "job_name" {
description = "The name of the container app job."
value = local.deploy_container_app ? module.container_app_job[0].name : null
}
output "job_resource_id" {
description = "The resource id of the container app job."
value = local.deploy_container_app ? module.container_app_job[0].resource_id : null
}
output "name" {
description = "The name of the container app environment."
value = local.deploy_container_app ? local.container_app_environment_name : null
}
output "placeholder_job_name" {
description = "The name of the placeholder contaienr app job."
value = local.deploy_container_app ? module.container_app_job[0].placeholder_job_name : null
}
output "placeholder_job_resource_id" {
description = "The resource id of the placeholder container app job."
value = local.deploy_container_app ? module.container_app_job[0].placeholder_job_resource_id : null
}
output "private_dns_zone_subnet_resource_id" {
description = "The private dns zone id of the container registry."
value = local.container_registry_private_endpoint_subnet_id
}
output "resource_id" {
description = "The resource id of the container app environment."
value = local.deploy_container_app ? local.container_app_environment_id : null
}
output "user_assigned_managed_identity_id" {
description = "The resource id of the user assigned managed identity."
value = var.user_assigned_managed_identity_creation_enabled ? module.user_assigned_managed_identity[0].resource_id : var.user_assigned_managed_identity_id
}
output "user_assigned_managed_identity_principal_id" {
description = "The principal id of the user assigned managed identity."
value = var.user_assigned_managed_identity_creation_enabled ? module.user_assigned_managed_identity[0].principal_id : var.user_assigned_managed_identity_principal_id
}
output "virtual_network_name" {
description = "The virtual network name."
value = var.use_private_networking && var.virtual_network_creation_enabled ? module.virtual_network[0].name : var.virtual_network_name
}
output "virtual_network_resource_id" {
description = "The virtual network resource id."
value = var.use_private_networking && var.virtual_network_creation_enabled ? module.virtual_network[0].resource_id : null
}