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

ancient-solstice-53934

03/28/2024, 7:08 PM
Hi, We have existing AppServicePlans created with AppServicePlan(Native) and Plan (Classic) components but when referencing them in WindowsFunctionApp, get following error. WindowsFunctionApp expects 'serverFarms' (We get it when creating new plans using ServicePlan component) but we get 'serverfarms' from existing AppServicePlans Is there any way we can create WindowsFunctionApp with existing AppServicePlan ? We are using C# and .NET 8 to create Azure resources.
h

hundreds-gpu-71155

03/28/2024, 8:02 PM
that smells like a bug in one of the pulumi libraries.
question is, bug in native or bug in classic
f

fast-sandwich-30809

03/28/2024, 9:03 PM
It could also be a bug in the azure API spec that azure-native is generated from. I found a similar issue in vm scalesets.