Hi There, I’m learning Pulumi. I wrote a sample co...
# getting-started
a
Hi There, I’m learning Pulumi. I wrote a sample code that creates an #azure web app in #dotnet (C#). I need to access the web app instance I created in my code inside of an ‘if’ statement so that I can add AppSettings based on a given condition. Anyone can help me with that or point me to a code sample? I’m using the Azure-Native library. I guess it starts somehow like this:
webapp.SiteConfig.Apply(cfg => cfg.AppSettings.Add(?????));
Thanks ! 🙂