-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoutputs.tf
More file actions
64 lines (52 loc) · 2.08 KB
/
Copy pathoutputs.tf
File metadata and controls
64 lines (52 loc) · 2.08 KB
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
output "key_vault_id" {
description = "The ID of the Key Vault."
value = azurerm_key_vault.this.id
}
output "key_vault_name" {
description = "The name of the Key Vault."
value = azurerm_key_vault.this.name
}
output "key_vault_uri" {
description = "The URI of the Key Vault."
value = azurerm_key_vault.this.vault_uri
}
output "key_vault_tenant_id" {
description = "The tenant ID of the Key Vault."
value = azurerm_key_vault.this.tenant_id
}
output "key_ids" {
description = "Map of Key Vault key names to their IDs."
value = { for k, v in azurerm_key_vault_key.this : k => v.id }
}
output "key_versions" {
description = "Map of Key Vault key names to their current versions."
value = { for k, v in azurerm_key_vault_key.this : k => v.version }
}
output "key_versionless_ids" {
description = "Map of Key Vault key names to their versionless IDs."
value = { for k, v in azurerm_key_vault_key.this : k => v.versionless_id }
}
output "secret_ids" {
description = "Map of Key Vault secret names to their IDs."
value = { for k, v in azurerm_key_vault_secret.this : k => v.id }
}
output "secret_versionless_ids" {
description = "Map of Key Vault secret names to their versionless IDs."
value = { for k, v in azurerm_key_vault_secret.this : k => v.versionless_id }
}
output "certificate_ids" {
description = "Map of Key Vault certificate names to their IDs."
value = { for k, v in azurerm_key_vault_certificate.this : k => v.id }
}
output "certificate_versionless_ids" {
description = "Map of Key Vault certificate names to their versionless IDs."
value = { for k, v in azurerm_key_vault_certificate.this : k => v.versionless_id }
}
output "private_endpoint_id" {
description = "The ID of the private endpoint, if created."
value = try(azurerm_private_endpoint.this[0].id, null)
}
output "private_endpoint_ip_address" {
description = "The private IP address of the private endpoint, if created."
value = try(azurerm_private_endpoint.this[0].private_service_connection[0].private_ip_address, null)
}