https://pulumi.com logo
#getting-started
Title
# getting-started
s

shy-sandwich-50117

04/23/2021, 4:21 PM
Googled around and it seems the work around is to use --yes, but it means i dont get the preview
b

billowy-army-68599

04/23/2021, 4:22 PM
hey, the last time I saw this, it was because there was an environment variable on the user's machine that we use to detect if it's running in CI
s

shy-sandwich-50117

04/23/2021, 4:22 PM
is this the JENKINS_URL env var?
unset that, it should work
s

shy-sandwich-50117

04/23/2021, 4:45 PM
Sadly did not help, the env var does not exist
Get-Item -Path Env:* | ?{$_.Name -ilike '*jen*'}
b

billowy-army-68599

04/23/2021, 4:50 PM
This is the method we use to determine if you're running in an interactive terminal: https://github.com/pulumi/pulumi/blob/61ce479241cddbad5f1865b49c36cbe8e7441c83/sdk/go/common/util/cmdutil/console.go#L49 so steps are: - check if you have a
TERM
variable set - check if you have any of the CI environment variables set
s

shy-sandwich-50117

04/23/2021, 5:07 PM
Thanks, issue resolved.
b

billowy-army-68599

04/23/2021, 5:16 PM
would you mind sharing what the issue is in case someone else runs into it?
s

shy-sandwich-50117

04/26/2021, 2:13 PM
The issue was the shell. My default shell was the integrated shell - after changing the default to powershell 7 it worked
3 Views