-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathoutputs.tf
74 lines (59 loc) · 2.4 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
output "network_interface_id" {
value = azurerm_network_interface.default[*].id
description = "The ID of the Network Interface."
}
output "network_interface_private_ip_addresses" {
value = try(azurerm_network_interface.default[*].private_ip_addresses, null)
description = "The private IP addresses of the network interface."
}
output "availability_set_id" {
value = try(azurerm_availability_set.default[*].id, null)
description = "The ID of the Availability Set."
}
output "public_ip_id" {
value = try(azurerm_public_ip.default[*].id, null)
description = "The Public IP ID."
}
output "public_ip_address" {
value = try(azurerm_public_ip.default[*].ip_address, null)
description = "The IP address value that was allocated."
}
output "linux_virtual_machine_id" {
value = try(azurerm_linux_virtual_machine.default[*].id, null)
description = "The ID of the Linux Virtual Machine."
}
output "windows_virtual_machine_id" {
value = try(azurerm_windows_virtual_machine.win_vm[*].id, null)
description = "The ID of the Windows Virtual Machine."
}
output "network_interface_sg_association_id" {
value = try(azurerm_network_interface_security_group_association.default[*].id, null)
description = "The (Terraform specific) ID of the Association between the Network Interface and the Network Interface."
}
output "tags" {
value = module.labels.tags
description = "The tags associated to resources."
}
output "disk_encryption_set-id" {
value = try(azurerm_disk_encryption_set.example[*].id, null)
}
output "key_id" {
value = try(azurerm_key_vault_key.example[*].id, null)
description = "Id of key that is to be used for encrypting "
}
output "extension_id" {
value = { for id in azurerm_virtual_machine_extension.vm_insight_monitor_agent : id.name => id.id }
description = "The ID of the Virtual Machine Extension."
}
output "service_vault_id" {
description = "The Principal ID associated with this Managed Service Identity."
value = azurerm_recovery_services_vault.example[*].identity[0].principal_id
}
output "service_vault_tenant_id" {
description = "The Tenant ID associated with this Managed Service Identity."
value = azurerm_recovery_services_vault.example[*].identity[0].tenant_id
}
output "vm_backup_policy_id" {
description = "The ID of the VM Backup Policy."
value = azurerm_backup_policy_vm.policy[*].id
}