https://pulumi.com logo
#azure
Title
# azure
a

ancient-solstice-53934

02/05/2024, 7:29 PM
Does Pulumi support .NET 8 based Azure Function Apps? I am using Azure classic provider using Pulumi.Azure.AppService var functionApp = new FunctionApp(name, funcAppArgs); I get following error while trying to set DotnetFrameworkVersion to v8.0 ......................... expected site_config.0.dotnet_framework_version to be one of [v4.0 v5.0 v6.0], got v8.0. Examine values at 'FunctionApp.SiteConfig.DotnetFrameworkVersion' ............................
m

millions-journalist-34868

02/05/2024, 8:17 PM
Are you using Azure classic provider or Azure Native provider?
a

ancient-solstice-53934

02/06/2024, 5:39 PM
Pulumi Classic Provider using Pulumi.Azure.AppService var functionApp = new FunctionApp(name, funcAppArgs);
m

millions-journalist-34868

02/06/2024, 5:45 PM
I think you are using a deprecated resource. According to the documentation FunctionApp has been deprecated in favor of specific resources WindowsFunctionApp or LinuxFunctionApp that supports the latest dotnet framework
Any reason why you are using classic Azure instead of Azure Native by the way ?
a

ancient-solstice-53934

02/06/2024, 5:47 PM
Its Legacy Application we have not migrated yet