Changed deprecated TF resource (azurerm_virtual_machine)

This commit is contained in:
Tom Archer
2023-05-10 05:04:19 -07:00
parent 3110ce9954
commit 3433d4d76d
5 changed files with 193 additions and 0 deletions

View File

@ -0,0 +1,15 @@
output "resource_group_name" {
value = azurerm_resource_group.rg.name
}
output "azurerm_virtual_network_name" {
value = azurerm_virtual_network.test.name
}
output "azurerm_subnet_name" {
value = azurerm_subnet.test.name
}
output "azurerm_linux_virtual_machine_names2" {
value = [for s in azurerm_linux_virtual_machine.test : s.name[*]]
}