hey there!
This isn’t really how Pulumi works, it operates on a desired state model. If the resource exists, you really need to import it into state.
You as the operator will have to know if the resource exists or not. you can do these with a boolean flag in config, but there’s no try catch options