https://pulumi.com logo
#general
Title
# general
c

curved-dream-12503

06/20/2023, 9:01 AM
Would be great if we can use a command line flag to tell pulumi to skip update check: Currently when configuring auto completion via .bashrc (
source <(pulumi gen-completion bash)
it will be very slow due to the update check. And you get this update message every time you open a new terminal.
e

echoing-dinner-19531

06/20/2023, 9:26 AM
Just set PULUMI_SKIP_UPDATE_CHECK=1 while making that call
c

curved-dream-12503

06/20/2023, 9:31 AM
Then you have to set it and unset it which is not very convenient
e

echoing-dinner-19531

06/20/2023, 9:33 AM
You can set envvars for a single command in bash by making it part of the command:
Copy code
PULUMI_SKIP_UPDATE_CHECK=1 source <(pulumi gen-completion bash)
c

curved-dream-12503

06/20/2023, 9:36 AM
ah thanks! Let me try