https://pulumi.com logo
Title
b

brave-winter-60074

12/16/2020, 9:26 AM
Hi everyone, we are evaluating Pulumi Azure Nexte Gen and have successfully created many of the resources that we need, but a simple Azure App Function I have not been able to locate or configure correctly in the docs -> https://www.pulumi.com/docs/reference/pkg/azure-nextgen/ what part should I use for such a function and do Pulumi or someone have a short example for such a important part of a serverless stack. Have been searching the docs for two days now, and if i use the old provider I get a version 1 function instead of v3. Thank you very much in advance
and if I try with the webappfunction it fails due to incorrect config
b

brave-winter-60074

12/16/2020, 9:38 AM
Thank you!!!
@tall-librarian-49374 do you know if it can have stability issues, were able to create a function but after making changes to the AppSettings and trying to rebuild it it now fails to find the app-service plan eventhough it create a function for 15 minutes ago that worked with the same ServerFarmId…
t

tall-librarian-49374

12/16/2020, 11:02 AM
Hmm, I’m not sure. There seem to be a lot of errors like this in Google - but no clear reason from skimming through them.
t

tall-needle-56640

12/16/2020, 4:35 PM
@brave-winter-60074 Are you creating an app service plan in your stack? Or is the server farm name of an existing app service plan?
b

brave-winter-60074

12/16/2020, 9:00 PM
Hi @tall-needle-56640 created the app service plan in a core stack and used stack referencing to use the plan in our microservice setup.
t

tall-librarian-49374

12/16/2020, 9:30 PM
Are the plan and the app service in the same resource group?
b

brave-winter-60074

12/17/2020, 7:05 AM
@tall-librarian-49374 Yes, I created a Y and Dynamic Tier plan instead and it seems to work. But really a strange error. It was the new Premium V2 plan so perhaps something related to that. And as you suggested many similar errors on google.