Hey there, I've been playing around with Azure Dev...
# general
Hey there, I've been playing around with Azure Devops and Pulumi, and I've had some mixed results, my immediate question is with relation to if using the Release Task https://marketplace.visualstudio.com/items?itemName=pulumi.build-and-release-task then how do I get the exported variables out of the task? Thanks!
Hi @tall-oil-62666, you can try to use this snippet, after a "pulumi up task", to export a pulumi output to a "task.variable"
As @delightful-lizard-41466 mentioned, you can get the stack outputs in a step that comes after your pulumi command step. For another example, see our guide here: https://www.pulumi.com/docs/guides/continuous-delivery/azure-devops/, specifically this example Azure DevOps configuration snippet: https://www.pulumi.com/docs/guides/continuous-delivery/azure-devops/#sample-azure-pipelines-yml