iterative / terraform-provider-iterative

☁️ Terraform plugin for machine learning workloads: spot instance recovery & auto-termination | AWS, GCP, Azure, Kubernetes
https://registry.terraform.io/providers/iterative/iterative/latest/docs
Apache License 2.0
289 stars 27 forks source link

Set maintenance behavior to TERMINATE when using GPU #755

Closed 0x2b3bfa0 closed 1 year ago

0x2b3bfa0 commented 1 year ago

Closes https://github.com/iterative/cml/issues/1398 by backporting the following task code:

https://github.com/iterative/terraform-provider-iterative/blob/a0fb6be03344ed2d4887468efa64abe3fcce4634/task/gcp/resources/resource_instance_template.go#L115-L118

0x2b3bfa0 commented 1 year ago

Major blunder; already part of the existing logic! 🤦🏼‍♂️