Azure / Azure/azure-quickstart-templates

Multiple Backends and Multiple Frontends for Standard Loadbalancer via ARM template

Open
#7,563 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Bicep
Stars
14.9k
Forks
16.2k
Avg merge
6d 21h
Merged PRs (30d)
6

Description

I am trying to create a Standard Loadbalancer template having multiple backend pools and multiple frontend properties but was getting a below error. I tried deploying the template through "copy" function but getting an error of invalid property

**Error: {"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.","details":[{"code":"BadRequest","message":"{\r\n \"error\": {\r\n \"code\": \"InvalidTemplate\",\r\n \"message\": \"Unable to process template language expressions for resource '/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxxxxx/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/app1-a-lb' at line '303' and column '9'. 'The language expression property 'lbBackendPoolName' doesn't exist, available properties are 'name, FrontendIPConfigurations, backendAddressPool, healthProbe, protocol, frontendPort, backendPort, idleTimeoutInMinutes, enableFloatingIP'**

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the ARM template deployment described in the issue and inspect the expression at line 303, especially the use of `lbBackendPoolName` against the listed available properties. Reproduce the deployment error with multiple backend pools and frontend properties, then verify that the corrected template deploys successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, json
Domain
cloud, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.