:wave: Hi everyone Does anyone know if there is a ...
# azure
r
👋 Hi everyone Does anyone know if there is a way to use Pulumi to configure application setting for an Azure static app? I see
WebAppApplicationSettings
, but this interprets the name I pass as a
Microsoft.Web/sites/
resource, when my resource is actually a
Microsoft.Web/staticSites/
resource. I was hopeful that the
kind
argument to
WebAppApplicationSettings
would allow me to correct the resource type, but I haven't had any luck with it.
b
afaik staticsite and webapps are totally different under the hood. webapps run docker containers, staticsites just serve files from blob storage
r
That's right. I'm using that StaticSite resource. I'm trying to find how I map what's in the Azure portal UI under Settings > Configuration > Application Settings to that Pulumi resource.
e
I don't have a static web app to hand to test but I find if you can export the template from the portal it will give you some clues to the different resources involved.
r
Thanks, Shahid. I did try that but the application settings don't show up anywhere, unfortunately.