https://pulumi.com logo
g

glamorous-waitress-51149

08/06/2019, 9:47 AM
Does pulumi run in its own shell? For example
AWS_PROFILE=lykke ./build-local.sh && cd ./artifacts/infra && pulumi up --yes
fails with an error about aws access key yet if i run each command separately it works fine
s

stocky-spoon-28903

08/06/2019, 12:58 PM
Don’t unexported variables like that apply only to the first command?
But no it doesn’t run in a subshell unless you start it in one
g

glamorous-waitress-51149

08/06/2019, 3:51 PM
even if i put the variable before the pulumi call it still fails
s

stocky-spoon-28903

08/06/2019, 4:02 PM
Hmm, not sure why that would be the case
Which shell are you in?
g

glamorous-waitress-51149

08/06/2019, 8:42 PM
zsh/ohmyzsh
3 Views