pulumi / pulumi-az-pipelines-task

Azure Pipelines task extension for running Pulumi apps.
https://marketplace.visualstudio.com/publishers/pulumi
Apache License 2.0
27 stars 19 forks source link

Get Output variables #45

Closed sathya177 closed 4 years ago

sathya177 commented 4 years ago

In my Pulumi script - I'm exporting few variables/json Is there anyway i can bring it in Output variables of Azure Pipeline task Please share your comments.

leezen commented 4 years ago

You can execute pulumi stack output to get the value of those outputs

sathya177 commented 4 years ago

I would like to set that output to release task variable to get that in other tasks or other stage

leezen commented 4 years ago

There's an example of doing exactly that with pulumi stack output in https://www.pulumi.com/docs/guides/continuous-delivery/azure-devops/#sample-azure-pipelines-yml

I'm going to close this issue for now, but please feel free to re-open if that doesn't answer your question.