Hi guys, I’m working on automating the Azure Mark...
# azure
r
Hi guys, I’m working on automating the Azure Marketplace preview deployment for our product using Pulumi. From what I understood so far: • The Marketplace preview offer is deployed as an Azure Managed Application • The Azure Portal internally uses an ARM template (catalog artifact) to deploy it • Direct VM creation via Pulumi does not work due to Marketplace restrictions I was able to successfully deploy the preview offer via Pulumi using
azure.resources.Deployment
with the ARM template URL (same as Portal). However, during testing I identified an important issue regarding version handling: • Each preview version (e.g. 7.5 → 7.6) gets a new artifact ID • This artifact ID is part of the ARM template URL • If the URL is not updated, deployment uses the previous version In our case, after publishing 7.6, the automation still deployed 7.5 because it was pointing to the old artifact ID. So currently, the automation depends on manually updating the template URI after each preview publish. 😕 I wanted to clarify: 1. Is there a supported way to dynamically resolve the latest artifact/template for a preview offer? 2. Or is manually updating the artifact ID expected in this workflow? 3. Is ARM template deployment the recommended approach, or should we instead use some other approach for this? I’ve attached screenshot of Partner Center for context. Would appreciate your guidance on the intended approach here.
m
Hi @rich-room-61748 It sounds like more of a Azure Marketplace question than a pulumi on but I googled around to see what I could find and looks like I found you asking the same question elsewhere: https://learn.microsoft.com/en-nz/answers/questions/5854345/automating-azure-marketplace-preview-deployment-%28m Was the suggestion there from Siva shunmugam Nadessin helpful?
r
@modern-spring-15520 Yes I posted the question there too, to see if this can be done via Azure CLI or PowerShell. But my first priority would be getting a working solution to this via Pulumi. But right now even not sure if I can even do this via Pulumi or not.