mirsaeedi / dotnet-apim

dotnet-apim is a cross-platform dotnet tool which streamlines the CI/CD process of deploying APIs into Azure API Management
MIT License
30 stars 10 forks source link

Backend missing ARM dependencies when Named Values exists #35

Closed kboro closed 2 years ago

kboro commented 2 years ago

ARM deployment fails with first attempt because Backend cannot be created due to lack of referenced NamedValue. Folliwng Backend Configuration requires NamedValue 'func' to be created, In other case Backend deployment fails

image

backends ARM "dependsOn": should contain NamedValues

"type": "Microsoft.ApiManagement/service/backends",
        "apiVersion": "2019-12-01",
        "name": "[concat(parameters('ApimServiceName'), '/apim-name')]",
        "dependsOn": [],