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

refined-pillow-94744

01/05/2024, 2:37 PM
👋 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

bumpy-glass-30283

01/06/2024, 12:14 PM
afaik staticsite and webapps are totally different under the hood. webapps run docker containers, staticsites just serve files from blob storage
r

refined-pillow-94744

01/07/2024, 10:18 PM
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

echoing-umbrella-72850

01/12/2024, 12:48 AM
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

refined-pillow-94744

01/12/2024, 6:41 PM
Thanks, Shahid. I did try that but the application settings don't show up anywhere, unfortunately.