Skip to content

Delete stack from state #790

@project0

Description

@project0

Hello!

  • Vote on this issue by adding a 👍 reaction
  • If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)

Issue details

I am using the s3 backend and noticed that states are not entirely cleaned up after deleting a stack:

The resources in the stack have been deleted, but the history and configuration associated with the stack are still maintained.
If you want to remove the stack completely, run pulumi stack rm main-flowers-dev-environments-shared.

It would be great to have an option to trigger the stack deletion as part of the operator. I am using it to create ephemeral environments and it results into a lot of "empty" states in my s3 bucket :-(.

Affected area/feature

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions