How do I create a "Deployment Slot Setting" in configuration when creating a function app using Pulumi? (I'm using C#). I can add configuration settings, but they are typed as a NameValuePairArgs, so there's not an opportunity to set a Boolean for the deployment slot setting.
m
mammoth-agency-10350
11/07/2022, 11:39 PM
Do you need one of these?
As function apps are just kinds of
WebApp
guessing that the deployment slot would be similar...
b
better-agent-38563
11/09/2022, 1:08 PM
Sorry for the delated reply, I have the deployment slot itself working fine using the WebAppSlot. What I'm looking to do is to be able to mark a configuration parameter as being slot specific.
As it turns out, the parameter I am setting (to disable a function) does not get swapped when you swap slots, so this is a back burner question for the time being.