This message was deleted.
# general
s
This message was deleted.
b
happens on
pulumi refresh -y
m
I haven’t tried it but maybe
--non-interactive
?
b
that seems to work, thank you.. I would prefer to use an ENV var that I can bake into a container rather than update all the internal commands if possible still
m
Generally, interactivity should be auto-detected. Is it not working for you?
b
not sure I follow.. but I have a container with the pulumi CLI that I mount on top of code repos. after an update to a more recent version, when I execute a refresh/update, it gives this prompt. I haven't ran into any issues yet in a pipeline, but am hoping to avoid one
Copy code
root@49def9b610a0:/data/pulumi/infra/aws/projects/survey/environment/lambda-survey-smart-resolver# pulumi refresh -y && pulumi up
 warning: This command will edit your stack's state directly. Confirm? (y/N)
Copy code
root@49def9b610a0:/data/pulumi/infra/aws/projects/survey/environment/lambda-survey-smart-resolver# pulumi version
v3.39.3
e
It should detect non-interactive automatically based on if stdin is a tty I think
b
ok, i'll just keep an eye on it, maybe it wont be an issue.. like i said, so far hasn't caused any issue.. thanks for the info!