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.
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 usegetVariables
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.