pulumi/CHANGELOG_PENDING.md
Ian Wahbe 554660b23a
Implement the --exclude-protected feature (#8359)
* Implement the --exclude-protected feature

This piggybacks on the same machinery used by the --target flag. By
examining the stack, we find a list of all resources managed by
Pulumi (in that stack). We then form them into a DAG, and mark all
resources as either protected or unprotected.

A resource is protected it has the `Protect` flag set or is has a child
with the `protect` flag set. It is unprotected otherwise.

We then pass the urns of unprotected resources to the update options
passed to the destroy operation in the same way that `--target` does.

* Update changelog

* Handle providers correctly

* Add integration test

* Protect dependencies of protected resources

* Handle --exclude-protected in separate function

* Simplify implementation via DependencyGraph

* Add TransitiveDependenciesOf

* Cleanup unused functions

* Gate printed message behind !jsonDisplay

* Ensure provider is not `""`

* Clean up documentation (and some code)
2021-11-15 11:45:14 -08:00

1 KiB

Improvements

  • Adds CI detector for Buildkite #7933
  • [cli] - Add --exclude-protected flag to pulumi destroy. #8359

  • [cli] Adding the ability to use pulumi org set [name] to set a default org to use when creating a stacks in the Pulumi Service backend or self-hosted Service #8352

  • [schema] Add IsOverlay option to disable codegen for particular types #8338

  • [sdk/dotnet] - Marshal output values. #8316

  • [sdk/python] - Unmarshal output values in component provider. #8212

  • [sdk/nodejs] - Unmarshal output values in component provider. #8205

Bug Fixes

  • [engine] - Compute dependents correctly during targeted deletes. #8360