generated from Azure/terraform-azurerm-avm-template
-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathoutputs.tf
53 lines (44 loc) · 1.77 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
output "endpoint" {
description = "The endpoint used to connect to the Cognitive Service Account."
value = local.resource_block.endpoint
}
output "name" {
description = "The name of cognitive account created."
value = local.resource_block.name
}
output "primary_access_key" {
description = "A primary access key which can be used to connect to the Cognitive Service Account."
sensitive = true
value = local.resource_block.primary_access_key
}
output "private_endpoints" {
description = <<DESCRIPTION
A map of the private endpoints created.
DESCRIPTION
value = azurerm_private_endpoint.this
}
output "rai_policy_id" {
description = "The ID of the RAI policy created."
value = { for k, v in azapi_resource.rai_policy : k => v.id }
}
output "resource" {
description = "The cognitive account resource created."
value = local.resource_block
}
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 = local.resource_block.id
}
output "secondary_access_key" {
description = "A secondary access key which can be used to connect to the Cognitive Service Account."
sensitive = true
value = local.resource_block.secondary_access_key
}
output "system_assigned_mi_principal_id" {
description = "The principal ID of system assigned managed identity on the Cognitive/AI Service 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) ? local.resource_block.identity[0].principal_id : null
}