pulumi/pkg/backend
Thomas Gummerer 8099d314a7
destroy: implement --continue-on-error (#15727)
Implement a `--continue-on-error` flag for `pulumi destroy`. This makes
sure we continue processing destroys even if errors occur. We will only
continue for resources which do not depend on the failed resource, to
make sure we always have a valid snapshot available, and to not leave
any orphaned resources behind.

Resources that fail to destroy will still continue to be managed by
pulumi, and the process ends in an error to indicate to the user that
there were problems and the destroy didn't succeed cleanly.

The output will continue to be the same as for failed destroys, except
we now may succeed in destroying more resources than before.

/cc https://github.com/pulumi/pulumi/issues/3304
2024-03-22 09:22:40 +00:00
..
display Asset and Archive can have missing contents (#15736) 2024-03-21 12:32:26 +00:00
diy Revert "Warn about non-project mode (#15411)" (#15497) 2024-02-23 07:52:44 +00:00
filestate Rename filestate to DIY (#15314) 2024-01-30 15:53:10 +00:00
httpstate mark snapshot tests as non-parallel (#15642) 2024-03-12 15:37:47 +00:00
state [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
apply.go turn on the golangci-lint exhaustive linter (#15028) 2024-01-17 16:50:41 +00:00
apply_test.go Make `engine.NewEvent` type safe (#14590) 2023-11-16 16:54:03 +00:00
backend.go destroy: implement --continue-on-error (#15727) 2024-03-22 09:22:40 +00:00
backend_test.go Allow anything in resource names (#14107) 2023-11-20 08:59:00 +00:00
cancellation_scope.go Make `engine.NewEvent` type safe (#14590) 2023-11-16 16:54:03 +00:00
doc.go Document Go packages (#6009) 2021-01-11 11:07:59 -07:00
errors.go Clean up uses of .Error() (#14965) 2023-12-20 15:54:06 +00:00
mock.go Enable finding Pulumi projects created from Templates (#15056) 2024-01-24 16:47:12 +00:00
policypack.go [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
query.go Rename filestate to DIY (#15314) 2024-01-30 15:53:10 +00:00
snapshot.go Validate snapshots from service on load (#14046) 2023-12-04 15:12:56 +00:00
snapshot_test.go Allows SKIP_CHECKPOINTS without EXPERIMENTAL (#15318) 2024-01-30 18:31:49 +00:00
stack.go Implement preview-only refresh (#15330) 2024-02-01 20:30:40 +00:00
updates.go [cli] Include config from ESC in `pulumi config` (#14560) 2023-11-21 10:44:45 +00:00
watch.go Enable perfsprint linter (#14813) 2023-12-12 12:19:42 +00:00