Need help deploying Azure AppGate #5517
-
I have been trying to deploy our appGateway but im getting 'Unable to evaluate template language function 'resourceId' error. I don't know what am i missing. Here is the full error:
I know it is something related related to resourceId but I can't figure out. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Can you share the Bicep code that generates this error? |
Beta Was this translation helpful? Give feedback.
-
Here is the code: { urlPathMaps: [
|
Beta Was this translation helpful? Give feedback.
-
It appears that you are supplying a path instead of a value pathRules: [
{
id: resourceId('Microsoft.Network/applicationGateways/urlPathMaps/', applicationGateways_name_var, 'BIB${environment}cmsRoutingRule/pathRules/404')
}
] perhaps try something like the following?
|
Beta Was this translation helpful? Give feedback.
It appears that you are supplying a path instead of a value
perhaps try something like the following?
resourceId('Microsoft.Network/applicationGateways/urlPathMaps/pathRules', applicationGateways_name_var, 'BIB${environment}cmsRoutingRule','404')