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

This is Awesome! #197

Open
matttrach opened this issue Apr 5, 2024 · 3 comments
Open

This is Awesome! #197

matttrach opened this issue Apr 5, 2024 · 3 comments

Comments

@matttrach
Copy link

I know it has been a while since this has had a release, but please release v70 !
This is an amazing product which has helped me immensely.

Here is a new use case for you:

  • I write terraform modules and need to test them rapidly using terratest.
  • I use local file states because not deleting the state as a part of the test is considered a bug.
  • My automated tests run automatically and I can't sit around and wait to see if they panic, since they clean themselves up automatically to prepare for the next CI run the state will most likely be long gone before I get a chance to see it.
  • leftovers helps me keep track of objects which were created but not cleaned up due to terraform having a panic before destroy was possible.
@matttrach
Copy link
Author

Here is an example of using leftovers in a GitHub workflow to detect leftover AWS objects and generate an issue with the list found:
https://github.com/rancher/terraform-aws-access/blob/main/.github/workflows/cleanup.yaml

@matttrach
Copy link
Author

I pass a unique identifier to my terraform tests which relates to the workflow id and use that to find objects in this workflow.

@genevieve
Copy link
Owner

Hi @matttrach ! Thank you for the really nice comments. I'm waiting on this MR (#141) and then I will release v70 :-)

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

No branches or pull requests

2 participants