Skip to content

Commit dca3bc2

Browse files
authored
Merge pull request #3 from data-platform-hq/fix_added_private_ip_output
fix: vm private ip address output
2 parents 678f2ab + 9d348a3 commit dca3bc2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

outputs.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,8 @@ output "public_ip" {
1212
value = try(azurerm_public_ip.this[0].ip_address, null)
1313
description = "Linux Virtual Machine public IP address"
1414
}
15+
16+
output "private_ip" {
17+
value = try(azurerm_linux_virtual_machine.this.private_ip_address, null)
18+
description = "Linux Virtual Machine private IP address"
19+
}

0 commit comments

Comments
 (0)