strong-helmet-83704
03/13/2023, 9:39 PMlimited-rainbow-51650
03/13/2023, 9:55 PMpreview
and up
using the is_dry_run
function from the core Pulumi SDK: https://www.pulumi.com/docs/reference/pkg/python/pulumi/#pulumi.runtime.is_dry_run
When destroy
runs, the language host is not involved as Pulumi destroys the resources based on what is in the state, not what is in your Pulumi program.strong-helmet-83704
03/13/2023, 10:07 PMdestroy
?limited-rainbow-51650
03/14/2023, 6:40 AMdestroy
, your program isn't loaded. As mentioned above, Pulumi deletes the resources it can find in the state of your stack. Can you explain why you would need it during destroy
?strong-helmet-83704
03/14/2023, 4:53 PMlimited-rainbow-51650
03/14/2023, 5:51 PMstrong-helmet-83704
03/14/2023, 6:02 PM