https://pulumi.com logo
Title
f

faint-tiger-16075

11/30/2021, 10:08 PM
I'm trying to deploy an App Service on a reserved Linux App Service Plan that runs .Net 5.0. I've tried setting
netFrameworkVersion
to
v5.0
and
linuxFxVersion
to
DOTNET|5.0
but neither of those properties seem to have an impact.... From the console I can still see an empty "stack" in the App Service configuration once deployed. Does anyone know what I need to do to set "stack" to ".NET" and Major (and Minor) Version to ".NET 5"?
Found the problem....although there is a runtime named
DOTNET|5.0
if you query Azure, it's actually expecting the value
DOTNETCORE|5.0
which I only discovered when I queried the configuration of a working app service.
setting
linuxFxVersion
to
DOTNETCORE|5.0
fixed the problem.
1
r

rich-cat-16319

12/06/2021, 1:04 AM
Usually when I'm not sure what the value of a config needs to be, I set it manually then export the ARM template to see the value it's set in there.