swift-hamburger-98290
01/11/2021, 4:40 PM...
var blob = new azure.storage.Blob("bl-slot", {
...
});
const app = new azure.appservice.AppService("app-slot", {
...
});
const slot = new azure.appservice.Slot("apps-slot", {
appServiceName: app.name,
appSettings: {
WEBSITE_RUN_FROM_PACKAGE: azure.storage.signedBlobReadUrl(blob, storage),
},
siteConfig: {
...
autoSwapSlotName: "production",
},
...
});
Now the problem we face is on the second deployment: the ZIP which is used by the production
slot (in case the swap was performed) will be replaced by the new one. So we need 2 blobs (ZIPs) to exist at any given time, but pulumi only has one. I understand this is quite a special case, but is there any pulumi mechanism to deal with this?No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by