Hi guys, Could you please tell me if there is a wa...
# general
b
Hi guys, Could you please tell me if there is a way to determine if what operation do we run currently in pulumi? I’m specifically interested in determine
pulumi refresh
. Context: we assume different roles depends on pulumi operation: preview(RO)/deploy(RW). Currently we use
pulumi.runtime.is_dry_run()
, but for some reason it returns true for
refresh
e
We don't actually run the user program during a refresh at the moment. It works purely one what's in the statefile.