Skip to content

[ Enhancement ] Add mechanism to tear down TowerForge-generated environments prior to terraform destroy #108

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

Open
gwright99 opened this issue Jul 5, 2024 · 1 comment · May be fixed by #198
Assignees

Comments

@gwright99
Copy link
Collaborator

gwright99 commented Jul 5, 2024

The seqerakit integration allows one to provision a brand new AWS Batch CE (via TowerForge) as part of the terraform apply process. While this is very handy from a stand-up process, it can result in orphan resources in the AWS Account in the event that a user invokes a terraform destroy action prior to cleaning up resources inside Tower (due to Tower controlling the state of these objects rather than TF).

The make destroy command should be enhanced to loop through all TowerForge-generated CEs in the implementation, and destroy them, prior to invoking the terraform destroy command.

@gwright99
Copy link
Collaborator Author

@schaluva - this could be a good ticket for you to run with: solves a genuine problem, the project already has most of the infrastructure necessary to implement this extension, and it gives you a chance to play with the Tower APIs.

Depending how your testing goes today, we can align this afternoon / early next week.

@gwright99 gwright99 changed the title [ Enhancement ] Add mechanism to teardown TowerForge-generated environments prior to terraform destroy [ Enhancement ] Add mechanism to tear down TowerForge-generated environments prior to terraform destroy Jul 5, 2024
@markpanganiban markpanganiban linked a pull request Apr 29, 2025 that will close this issue
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 a pull request may close this issue.

2 participants