File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
modules/azure/azure-virtual-machine/buildingblock Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -202,6 +202,7 @@ No modules.
202202
203203| Name | Description |
204204| ------| -------------|
205+ | <a name =" output_azure_portal_url " ></a > [ azure\_ portal\_ url] ( #output\_ azure\_ portal\_ url ) | Direct link to the VM in Azure Portal |
205206| <a name =" output_network_interface_id " ></a > [ network\_ interface\_ id] ( #output\_ network\_ interface\_ id ) | The ID of the network interface |
206207| <a name =" output_resource_group_name " ></a > [ resource\_ group\_ name] ( #output\_ resource\_ group\_ name ) | The name of the resource group |
207208| <a name =" output_subnet_id " ></a > [ subnet\_ id] ( #output\_ subnet\_ id ) | The ID of the subnet |
Original file line number Diff line number Diff line change @@ -48,6 +48,11 @@ output "vm_identity_principal_id" {
4848 description = " The Principal ID of the system-assigned managed identity"
4949}
5050
51+ output "azure_portal_url" {
52+ value = " https://portal.azure.com/#@${ data . azurerm_client_config . current . tenant_id } /resource/subscriptions/${ data . azurerm_subscription . current . subscription_id } /resourceGroups/${ azurerm_resource_group . vm_rg . name } /providers/Microsoft.Compute/virtualMachines/${ var . vm_name } /overview"
53+ description = " Direct link to the VM in Azure Portal"
54+ }
55+
5156output "summary" {
5257 description = " Markdown summary output of the building block with connection instructions"
5358 value = << EOT
You can’t perform that action at this time.
0 commit comments