You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ipConfiguration.vmIPAddress property within the Virtual Machine module is sent via a nested bicep resource to the Network Interfaces module using privateIPAddress, instead of vmIPAddress
I would assume we cannot update the Network Intefaces modules to align to the privateIPAddress property (as that would be a break public interface, so I guess the fix is to map the Virtual Machine nested bicep to use vmIPAddress throughout.
ERROR: InvalidTemplateDeployment - The template deployment 'deploy1' is not valid according to the validation procedure. The tracking id is 'xxxxxxxxxxxxxxxxxxxxxxx'. See inner errors for details.
TemplateFailedPrevalidation - The template request has multiple validation failures involving one or more Microsoft.Network resources. Please check details for information about each resource.
PrivateIPAddressMissing - Private IP address is required when privateIPAllocationMethod is Static in IP configuration /subscriptions/xxxxxxxxxxxxxxxx/resourceGroups/xxxxxxxxxxxxxxx/providers/Microsoft.Network/networkInterfaces/name-nic-01/ipConfigurations/ipconfig01.
The text was updated successfully, but these errors were encountered:
Describe the bug
The
ipConfiguration.vmIPAddress
property within the Virtual Machine module is sent via a nested bicep resource to the Network Interfaces module usingprivateIPAddress
, instead ofvmIPAddress
I would assume we cannot update the Network Intefaces modules to align to the
privateIPAddress
property (as that would be a break public interface, so I guess the fix is to map the Virtual Machine nested bicep to usevmIPAddress
throughout.1st nested layer:
ResourceModules/modules/Microsoft.Compute/virtualMachines/.bicep/nested_networkInterface.bicep
Line 68 in be70744
2nd nested layer:
ResourceModules/modules/Microsoft.Network/networkInterfaces/deploy.bicep
Line 107 in be70744
To reproduce
Example Bicep module call below
Code snippet
Relevant log output
The text was updated successfully, but these errors were encountered: