Skip to content

Commit b46243c

Browse files
committed
fix: summary output should account for being optional
1 parent 2506028 commit b46243c

File tree

1 file changed

+3
-3
lines changed
  • modules/azure/azure-virtual-machine/buildingblock

1 file changed

+3
-3
lines changed

modules/azure/azure-virtual-machine/buildingblock/outputs.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ Your Azure Virtual Machine was successfully created!
6363
## VM Details
6464
6565
- **Name**: ${var.vm_name}
66-
- **Resource Group**: ${azurerm_resource_group.vm_rg.name}
67-
- **Location**: ${azurerm_resource_group.vm_rg.location}
66+
- **Resource Group**: ${local.rg_name}
67+
- **Location**: ${local.rg_location}
6868
- **Operating System**: ${var.os_type}
6969
- **VM Size**: ${var.vm_size}
7070
- **Private IP**: ${azurerm_network_interface.vm_nic.private_ip_address}${var.enable_public_ip ? "\n- **Public IP**: ${azurerm_public_ip.vm_public_ip[0].ip_address}" : ""}
@@ -113,7 +113,7 @@ ${var.enable_spot_instance ? "## Spot Instance Notice\n\n⚠️ This VM is runni
113113
114114
## Resources Created
115115
116-
- Resource Group: `${azurerm_resource_group.vm_rg.name}`
116+
- Resource Group: `${local.rg_name}`
117117
- Virtual Network: `${azurerm_virtual_network.vm_vnet.name}`
118118
- Subnet: `${azurerm_subnet.vm_subnet.name}`
119119
- Virtual Machine: `${var.vm_name}`

0 commit comments

Comments
 (0)