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
I'm trying to deploy a rule belonging to a rule set, which in turn belongs to a front door profile as a separate bicep module.
but I get the following error
Deployment template validation failed: 'The template resource '[format('{0}/{1}/{2}', split(parameters('ruleSetName'), '/')[0], split(parameters('ruleSetName'), '/')[1], parameters('name'))]' at line '1' and column '1216' is not valid: The language expression property array index '1' is out of bounds.. Please see https://aka.ms/arm-functions for usage details.'. (Code: InvalidTemplate)
Resource Type
Microsoft.Cdn/profiles/ruleSets
Api Version
2023-05-01
Issue Type
Resource fails to deploy
Other Notes
I'm trying to deploy a rule belonging to a rule set, which in turn belongs to a front door profile as a separate bicep module.
but I get the following error
Deployment template validation failed: 'The template resource '[format('{0}/{1}/{2}', split(parameters('ruleSetName'), '/')[0], split(parameters('ruleSetName'), '/')[1], parameters('name'))]' at line '1' and column '1216' is not valid: The language expression property array index '1' is out of bounds.. Please see https://aka.ms/arm-functions for usage details.'. (Code: InvalidTemplate)
Bicep Repro
frontdoor-rule-set.bicep
frontdoor-rule.bicep
mani.bicep
Confirm
The text was updated successfully, but these errors were encountered: