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

I-ALiRT: Add a way to delete stack despite using autoscaling #374

Conversation

laspsandoval
Copy link
Contributor

Change Summary

Overview

Previously you had to manually go in and delete the autoscaling groups before you destroyed the Stack. This allows the stack to be destroyed without that manual process.

Updated Files

  • ialirt_processing_construct
    • update the AsgCapacityProvider so that (1) the ECS can terminate ASG even if EC2 is running tasks and (2) avoid potential issues with automated scaling during cdk destroy.

Testing

This now destroys the stack: cdk destroy --context account_name="lcs" IalirtStack

@laspsandoval laspsandoval added this to the Oct 2024 milestone Oct 30, 2024
@laspsandoval laspsandoval self-assigned this Oct 30, 2024
@laspsandoval laspsandoval linked an issue Oct 30, 2024 that may be closed by this pull request
@laspsandoval
Copy link
Contributor Author

Screenshot 2024-11-08 at 2 09 26 PM Screenshot 2024-11-08 at 2 10 10 PM Screenshot 2024-11-08 at 2 11 46 PM

@laspsandoval laspsandoval merged commit cf7f201 into IMAP-Science-Operations-Center:dev Nov 12, 2024
2 checks passed
@laspsandoval laspsandoval deleted the automatic_asg_delete branch November 12, 2024 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

I-ALiRT: Add a way to delete stack despite using autoscaling
2 participants