Skip to content
This repository has been archived by the owner on Jan 5, 2023. It is now read-only.

Add preemptible feature #21

Merged
merged 2 commits into from
Aug 24, 2021
Merged

Conversation

nbttmbrg
Copy link
Collaborator

  • Adds boolean parameter "preemptible" to be set in platforms. As Molecule instances are often short lived instances this will allow to mitigate the financial consequences of a forgoten running instance (particularly for pay-as-you-go licenced VMs, such as Windows or SLES/RHEL).
  • Modifies Readme to describe the parameter

Copy link
Member

@ssbarnea ssbarnea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is nice. In fact I was considering adding a feature in molecule itself where all the resources created would have a limited lifespan of something like an hour, user overridable.

The reason is the same: limit the costs and avoid accidents where testing leftovers remain running for days, weeks,...

@nbttmbrg nbttmbrg merged commit 909795a into ansible-community:main Aug 24, 2021
@nbttmbrg nbttmbrg deleted the issue-19 branch August 24, 2021 09:55
@nbttmbrg
Copy link
Collaborator Author

Yes, I would have even preferred being able to destroy a regular instance after a limited time instead of relying on preemptible instances, that feature would be great !

@nbttmbrg nbttmbrg linked an issue Aug 24, 2021 that may be closed by this pull request
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add the option to create preemptible instances
2 participants