-
Notifications
You must be signed in to change notification settings - Fork 368
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 support for spot instances #259
Comments
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days |
I believe this is still a valid issue |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days |
This is still a valid issue |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days |
I think this is still an issue until #294 is merged |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days |
This is still a valid issue |
TL;DR
This module supports preemptible instances, but not spot instances
Terraform Resources
We should be able to use provisioning_model = SPOT to support spot instances: https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/compute_instance_template#nested_scheduling
Detailed design
Add a "spot" variable in the model and set the provisioning_model here:
terraform-google-vm/modules/instance_template/main.tf
Lines 144 to 149 in dfb0523
Additional information
No response
The text was updated successfully, but these errors were encountered: