Hi, I’m setting up a Static Web App with python us...
# azure
v
Hi, I’m setting up a Static Web App with python using
pulumi_azure_native.web.StaticSite(StaticSiteArgs(...))
. I can successfully deploy the site, but I need to add ‘environment variables’ to the Static Web App (See image). How do I add this to my StaticSiteArgs? I can’t find a way to do this in the documentation. Thanks
l
I haven't done this specifically - a static web app. So I can't answer directly. The way I usually try to deduce how to do things I haven't done with Pulumi-Azure and can't find examples for is: a) From a manually-created resource in Azure portal, look at the arm template and see if that clarifies where the settings I care about need to go. b) Do a
pulumi import
of a manually created resource to a "scratch" Pulumi stack so I can see the code that the import generates. Sorry I couldn't help more.