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

Use getVariables instead of individually mapping env vars #29

Closed praneetloke closed 5 years ago

praneetloke commented 5 years ago

Resolves #24.

In a previous PR I added support for setting the AWS_* env vars. But I had done that by manually mapping the build agent variables to the Pulumi CLI's execution environment. With this PR, I am changing that to use getVariables which would return all build variables, and I simply pass that onto to the Pulumi CLI's execution environment as-is. This allows users to set the env vars as described on Pulumi's docs.

praneetloke commented 5 years ago

@justinvp Merging this. If you have any feedback, I'll address it in another PR.