Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add --all to state delete #18502

Merged
merged 1 commit into from
Feb 10, 2025
Merged

Add --all to state delete #18502

merged 1 commit into from
Feb 10, 2025

Conversation

Frassle
Copy link
Member

@Frassle Frassle commented Feb 8, 2025

Adds a --all flag to pulumi state delete. This simply iterates backwards to remove each resource from state, still respecting protect flags.

Fixes #2437

@Frassle Frassle marked this pull request as ready for review February 9, 2025 19:34
@Frassle Frassle requested a review from a team as a code owner February 9, 2025 19:34
@Frassle Frassle added this pull request to the merge queue Feb 10, 2025
Merged via the queue into master with commit 3f53aad Feb 10, 2025
86 checks passed
@Frassle Frassle deleted the fraser/stateall branch February 10, 2025 09:08
This was referenced Feb 11, 2025
github-merge-queue bot pushed a commit that referenced this pull request Feb 11, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
I think #18523 needs a release,
since it's both a panic, and is also a regression that a couple of folks
have run into already.

Changelog:

##  (2025-02-11)


### Features

- [cli/state] Add `--all` to `state delete`
  [#18502](#18502)

- [sdk/python] [Experimental/Components] Check for required inputs
  [#18487](#18487)

- [sdk/python] [Experimental/Components] Infer plain types
  [#18483](#18483)


### Bug Fixes

- [engine] Fix a potential panic for corrupted secret values
  [#18501](#18501)

- [engine] Apply autonaming strategy only to custom resources, not
components
  [#18523](#18523)

- [sdk/python] [Experimental/Components] Throw an error when encountring
resource references
  [#18485](#18485)


### Miscellaneous

- [pkg] Change BulkDecrypt to return list instead of map
  [#18486](#18486)
github-merge-queue bot pushed a commit that referenced this pull request Feb 11, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
I think #18523 needs a .1 release,
since it's both a panic, and is also a regression that a couple of folks
have run into already.

Changelog:

##  (2025-02-11)


### Features

- [cli/state] Add `--all` to `state delete`
  [#18502](#18502)

- [sdk/python] [Experimental/Components] Check for required inputs
  [#18487](#18487)

- [sdk/python] [Experimental/Components] Infer plain types
  [#18483](#18483)


### Bug Fixes

- [engine] Fix a potential panic for corrupted secret values
  [#18501](#18501)

- [engine] Apply autonaming strategy only to custom resources, not
components
  [#18523](#18523)

- [sdk/python] [Experimental/Components] Throw an error when encountring
resource references
  [#18485](#18485)


### Miscellaneous

- [pkg] Change BulkDecrypt to return list instead of map
  [#18486](#18486)
@pulumi-bot
Copy link
Contributor

This PR has been shipped in release v3.150.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Please add --all parameter to pulumi state delete
3 participants