-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathoutputs.tf
50 lines (41 loc) · 1.15 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
output "generic_RG" {
value = azurerm_resource_group.genericRG.name
}
output "kafkaPublicIP" {
value = azurerm_public_ip.kafkaPublicIP.ip_address
}
output "kafkaPrivateIP" {
value = azurerm_network_interface.kafkaNIC.private_ip_address
}
output "sshAccess" {
description = "Command to ssh into the VM."
value = <<SSHCONFIG
ssh ${var.vmUserName}@${azurerm_public_ip.kafkaPublicIP.ip_address} -i ${trimsuffix(var.sshKeyPath, ".pub")}
SSHCONFIG
}
output "storageAccountID" {
description = "The storage account Resource ID."
value = azurerm_storage_account.genericSA.id
}
output "storageAccountKey" {
description = " Access Key to access the SA."
value = azurerm_storage_account.genericSA.primary_access_key
}
output "adlsFyleSytemID" {
value = azurerm_storage_data_lake_gen2_filesystem.ADLSFileSystemTFMS.id
}
output "vNetID" {
value = azurerm_virtual_network.genericVNet.id
}
output "subnets" {
value = {
for subnet in azurerm_subnet.subnets :
subnet.name => subnet.address_prefix
}
}
output "dataBricksSubnets" {
value = {
for subnet in azurerm_subnet.dbSubnets :
subnet.name => subnet.address_prefix
}
}