https://pulumi.com logo
Title
l

loud-midnight-95614

03/05/2020, 12:12 AM
When we use
pulumi.error()
is the expected behavior that it will only communicate an error to the user, but it will not disrupt the execution flow or terminate the program early? I just noticed that I could continue provisioning resources even after encountering an error message; which functionally makes it equivalent to a warning (at least to me). Just wanted to double check before I implement my own logic for "fatal errors".
w

white-balloon-205

03/05/2020, 2:45 AM
error()
should cause they deployment to stop. This may be related to https://github.com/pulumi/pulumi/issues/4009 which seems to suggest that all of these functions in Python are being treated as just
info
.
l

loud-midnight-95614

03/05/2020, 2:46 AM
Ah. Interesting. Thanks for the details!