Channels
welcome
pulumi-cdk
cloudengineering
yaml
blog-posts
localstack
pulumi-ai
package-authoring
general
pulumiup-booth-support
oracle-cloud-infrastructure
learn-pulumi-events
linen
registry
built-with-pulumi
pulumi-cloud
contribex
testingtesting321
hacktoberfest
pulumi-crosscode
content-share
finops
multi-language-hackathon
office-hours
workshops
gitlab
pulumi-kubernetes-operator
jobs
pulumi-deployments
dotnet
aws
golang
announcements
java
pulumiverse
python
install
getting-started
cloudengineering-support
testingtesting123
hackathon-03-19-2020
typescript
google-cloud
contribute
azure
kubernetes
docs
automation-api
status
Powered by
#general
Title
t
tall-oil-62666
11/13/2019, 8:48 AM
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!
d
delightful-lizard-41466
11/13/2019, 9:02 AM
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"
Setting Variables
c
clever-sunset-76585
11/13/2019, 5:51 PM
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
Post