This message was deleted.
# azure
s
This message was deleted.
l
What do you mean by "standalone"?
s
Please ignore that (have edited the message as well). I ended up creating Pulumi.AzureNative.Web.WebApp with Kind="functionapp" instead and it worked. Just got to figure out how to link the function itself to the functionapp on deployment.
l
That's what I would have replied with if I'd better understood your original question. An actual "function" will appear in the function app when the function is deployed to that specific function app / app service. We deploy ours from Github Actions. But you could deploy it via a publish profile from the function app. Pulumi itself isn't required as part of deploying a function to a function app.
s
Indeed, im using a yml publish profile for the static app but somehow it does not get deployed even though the pipeline compiles the api. Was yours a static web app with a function api as well?
The pulumi side of things is actually working now and my function is there, so thats good. Now just trying to find out why the pipeline is not publishing the function to the function app
l
No. I've done static web apps in Azure, but not via Pulumi - last I checked there was some friction in doing that b/c of the way Azure initially connects a static web app to GitHub. I've done a number of Azure function apps via Pulumi, and they've always just worked - both for creating the function app and for deploying to them via GitHub Actions.