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

Add Ec2Instance::terminate method #53

Merged
merged 2 commits into from
Mar 12, 2024
Merged

Conversation

rukai
Copy link
Member

@rukai rukai commented Mar 11, 2024

This PR exposes an Ec2Instannce::terminate method for early termination of EC2 instances as a cost saving measure when its known that an instance will not be needed anymore.
In all other cases its preferred to use Aws::cleanup_resources as that will cleanup all Ec2Instances and other types of resources too.

@rukai rukai force-pushed the delete_instance branch from 30d79ce to f71fe0e Compare March 12, 2024 00:03
@rukai rukai requested a review from conorbros March 12, 2024 00:04
@rukai rukai merged commit 453461b into shotover:main Mar 12, 2024
3 checks passed
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 this pull request may close these issues.

3 participants