output "resource_group_name" { description = "Name of the created resource group" value = azurerm_resource_group.main.name } output "resource_group_id" { description = "ID of the created resource group" value = azurerm_resource_group.main.id } output "location" { description = "Location of the resource group" value = azurerm_resource_group.main.location } # Network Outputs output "vnet_name" { description = "Name of the virtual network" value = azurerm_virtual_network.main.name } output "vnet_id" { description = "ID of the virtual network" value = azurerm_virtual_network.main.id } output "subnet_id" { description = "ID of the subnet" value = azurerm_subnet.main.id } # VM Outputs output "vm_name" { description = "Name of the virtual machine" value = azurerm_linux_virtual_machine.main.name } output "vm_id" { description = "ID of the virtual machine" value = azurerm_linux_virtual_machine.main.id } output "vm_private_ip" { description = "Private IP address of the VM" value = azurerm_network_interface.main.private_ip_address } output "vm_public_ip" { description = "Public IP address of the VM" value = azurerm_public_ip.main.ip_address } output "ssh_connection_string" { description = "SSH connection string for the VM" value = "ssh ${azurerm_linux_virtual_machine.main.admin_username}@${azurerm_public_ip.main.ip_address}" }