-
Bicep version Describe the bug I have tried a lot of different ways to create this according to various examples found on the internet, but all variations I have tried generates the error no matter what. To Reproduce This is the current test I have in script, it's basically the template created in Bicep extension in Code, but with the addition of the Prerequisites:
Additional context
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
The easiest way to get these settings is to go through the portal UI, until you get to the very last page, then click the export template option, you can view the desired settings in the template and template parameters section. I have a few that I have exported this way, however not the one you are looking for. once I have exported them I put them in lookup tables with a key to get the options that I want. Then depending on the permutations, have some logic to match the correct settings. https://github.com/brwilkinson/AzureDeploymentFramework/blob/main/ADF/bicep/x.appService.bicep#L98 |
Beta Was this translation helpful? Give feedback.
-
@brwilkinson Well, I have done that as well, but it doesn't work for several reasons (e.g. the portal UI doesn't support creating Azure Function with dotnet-isolated). After I wrote this issue I started to suspect that this may not be a bicep issue, but rather some issues around Azure Function deployment in general for .NET in isolation mode. I have an issue ( Azure/azure-functions-host#8367 ) as well that I created after this one that I more and more suspect is the reason for most of my problems. It may be that there is some issues below bicep that causes this. |
Beta Was this translation helpful? Give feedback.
@brwilkinson Well, I have done that as well, but it doesn't work for several reasons (e.g. the portal UI doesn't support creating Azure Function with dotnet-isolated).
After I wrote this issue I started to suspect that this may not be a bicep issue, but rather some issues around Azure Function deployment in general for .NET in isolation mode. I have an issue ( Azure/azure-functions-host#8367 ) as well that I created after this one that I more and more suspect is the reason for most of my problems. It may be that there is some issues below bicep that causes this.