I am attempting to use azure.appservice.Slot to create a new deployment slot for my Azure App Service via Pulumi. I am not able to find a way to create a deployment slot that clones the config of the parent App Service as you can via Azure portal. Does anyone have any advice when creating a deployment slot in Pulumi on best way to go about it and its capabilities? I've been following https://www.pulumi.com/registry/packages/azure/api-docs/appservice/slot/ and I know there's an option to import but the imports have been super messy in another Stack with config mis-matches even after copying/pasting import output, so trying to avoid any potentially messy imports
03/17/2023, 6:48 PM
do you have a comparable ARM template? or is it done via the portal?
half the battle is figuring out the API that the portal uses 😅
03/17/2023, 7:07 PM
That's a great question. I know I used Pulumi to create the resources under RG and pipelines are using AzureRmWebAppDeployment@4 with Azure RM connection type and service connections. If you set up deployment slot via portal there's an option to clone settings so I'm wondering if that should be managed via Pulumi or just have Pulumi create the slot and clone settings in portal since they are separate services and add a "do not delete" lock on it