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

[TODO] support planning for destroy #703

Open
9 tasks
ITProKyle opened this issue Jun 18, 2021 · 0 comments
Open
9 tasks

[TODO] support planning for destroy #703

ITProKyle opened this issue Jun 18, 2021 · 0 comments
Labels
feature Request or pull request for a new feature priority:low Low priority issue or pull request status:review_needed Issue or pull request needs reviewed

Comments

@ITProKyle
Copy link
Collaborator

Summary

Creates a plan whose goal is to destroy all remote objects that currently exist. This can be useful for situations like transient development environments, where the managed objects cease to be useful once the development task is complete.

The idea for this implementation is based around terraform apply -destroy.

Tasks

  • add --destroy option to runway plan
  • add handling for passing options like this to deployment/module processing (e.g. <instance>.plan(destroy=True)
    • may need to be part of context
    • may need to be translated to a different command on the backend that calls a specific class method (e.g. .plan_destroy())
  • modify module handler classes as needed once the design is finalized
    • for the first pass, just log that its not supported
  • add --destroy logic to CDK
  • add --destroy logic to Cloudformation
  • add --destroy logic to Kubernetes
  • add --destroy logic to Serverless
  • add --destroy logic to static site
  • add --destroy logic to Terraform
@ITProKyle ITProKyle added the feature Request or pull request for a new feature label Jun 18, 2021
@ITProKyle ITProKyle self-assigned this Jun 18, 2021
@ITProKyle ITProKyle added the priority:low Low priority issue or pull request label Feb 24, 2022
@ITProKyle ITProKyle removed their assignment Jul 18, 2024
@ITProKyle ITProKyle added the status:review_needed Issue or pull request needs reviewed label Jul 18, 2024
@ITProKyle ITProKyle moved this to Backlog in Runway Development Work Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Request or pull request for a new feature priority:low Low priority issue or pull request status:review_needed Issue or pull request needs reviewed
Projects
Status: Backlog
Development

No branches or pull requests

1 participant