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

Document how to destroy / delete resources #3288

Closed
1 task
nitrocode opened this issue Apr 3, 2023 · 1 comment
Closed
1 task

Document how to destroy / delete resources #3288

nitrocode opened this issue Apr 3, 2023 · 1 comment
Labels
docs Documentation feature New functionality/enhancement

Comments

@nitrocode
Copy link
Member

nitrocode commented Apr 3, 2023

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request. Searching for pre-existing feature requests helps us consolidate datapoints for identical requirements into a single place, thank you!
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

Describe the user story

There is an "unofficial" way to destroy terraform dirs in Atlantis and by documenting this on the website it will make it official

  1. Ideally, have a single enabled flag on every resource/module and toggle it to false and then run a directory/project specific plan & apply with --auto-merge-disabled
  2. Or run a directory/project specific plan using atlantis plan -d/-p -- -destroy & apply with --auto-merge-disabled

After using either option above, update the pr to remove the terraform code (or inputs file), and merge.

In the future, this documentation can be expanded for the following workflows

  1. targeted destroy
  2. without workspaces
  3. with workspaces (using inputs)
  4. with terraform wrappers
    • atmos
    • terragrunt

References

@nitrocode nitrocode added feature New functionality/enhancement docs Documentation labels Apr 3, 2023
@nitrocode nitrocode changed the title Document how to destroy Document how to destroy resources Apr 3, 2023
@nitrocode nitrocode changed the title Document how to destroy resources Document how to destroy / delete resources Jun 8, 2023
@leylmordor
Copy link
Contributor

leylmordor commented Sep 19, 2023

@nitrocode PR Merged and Documentation Updated

@dosubot dosubot bot added the Stale label Oct 3, 2024
@nitrocode nitrocode removed the Stale label Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation feature New functionality/enhancement
Projects
None yet
Development

No branches or pull requests

2 participants