-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoutputs.tf
31 lines (26 loc) · 1.11 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
output "name" {
description = "The name of cognitive account created."
value = azurerm_cognitive_account.this.name
}
output "private_endpoints" {
description = <<DESCRIPTION
A map of the private endpoints created.
DESCRIPTION
value = azurerm_private_endpoint.this
}
output "resource" {
description = "The cognitive account resource created."
value = azurerm_cognitive_account.this
}
output "resource_cognitive_deployment" {
description = "The map of cognitive deployments created."
value = azurerm_cognitive_deployment.this
}
output "resource_id" {
description = "The resource ID of cognitive account created."
value = azurerm_cognitive_account.this.id
}
output "system_assigned_mi_principal_id" {
description = "The principal ID of system assigned managed identity on the cognitive account created, when `var.managed_identities` is `null` or `var.managed_identities.system_assigned` is `false` this output is `null`."
value = try(var.managed_identities.system_assigned, false) ? azurerm_cognitive_account.this.identity[0].principal_id : null
}