From 7bfbb1974ec6ed1c2609f868db8a40f10a977bce Mon Sep 17 00:00:00 2001 From: tsharma Date: Thu, 19 Oct 2023 23:35:03 +0530 Subject: [PATCH] Output nfs file share url and nfs vm public IP --- .../terraform-cdp-azure-pre-reqs/modules/nfs/main.tf | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/modules/terraform-cdp-azure-pre-reqs/modules/nfs/main.tf b/modules/terraform-cdp-azure-pre-reqs/modules/nfs/main.tf index 3398fe6..f9a9ef7 100644 --- a/modules/terraform-cdp-azure-pre-reqs/modules/nfs/main.tf +++ b/modules/terraform-cdp-azure-pre-reqs/modules/nfs/main.tf @@ -124,4 +124,14 @@ resource "azurerm_linux_virtual_machine" "nfs_vm" { sku = "20_04-lts" version = "latest" } +} + +output "nfs_file_share_url" { + value = azurerm_storage_share.nfs_storage_share.url + description = "NFS File Share url" +} + +output "nfs_vm_public_ip" { + value = azurerm_public_ip.nfsvm_public_ip.ip_address + description = "NFS VM public IP address" } \ No newline at end of file