When we use `pulumi.error()` is the expected behav...
# python
l
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
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
Ah. Interesting. Thanks for the details!