-
Notifications
You must be signed in to change notification settings - Fork 7
Description
I'm trying to setup NFS gateways with the new VMSS but without public IP. This failes with the following error.
For now I did create a load balancer manually and added it to the terraform config. This works fine then at least for nfs4 on port 2049.
Please implement the load balancer in terraform if public_ip is false.
│ Error: creating Orchestrated Virtual Machine Scale Set (Subscription: "???" │ Resource Group Name: "???" │ Virtual Machine Scale Set Name: "???-nfs-protocol-gateway-vmss"): performing CreateOrUpdate: unexpected status 400 (400 Bad Request) with error: OutboundConnectivityNotEnabledOnVM: No outbound connectivity configured for virtual machine /subscriptions/???/resourceGroups/???/providers/Microsoft.Compute/virtualMachines/???-nfs-protocol-g_892f85c3. Please attach standard load balancer or public IP address to VM, create NAT gateway or configure user-defined routes (UDR) in the subnet. Learn more at aka.ms/defaultoutboundaccess. │ │ with module.weka_deployment.module.nfs_protocol_gateways[0].azurerm_orchestrated_virtual_machine_scale_set.nfs[0], │ on ../modules/protocol_gateways/main.tf line 296, in resource "azurerm_orchestrated_virtual_machine_scale_set" "nfs": │ 296: resource "azurerm_orchestrated_virtual_machine_scale_set" "nfs" { │ ╵