terraform-aws-metaflow
terraform-aws-metaflow copied to clipboard
Adding support for spot instances
Changed the following to allow for spot instance support:
- added
ec2_spotandfargate_spottobatch_typevariable - added a splotfleet iam role (generated when a spot batch_type is selected)
- refactored compute environment type selection
Tested on my own environment via ec2_spot. I did not test fargate_spot.
Testing Screenshots
Functioning compute environment
Successful Metaflow run on spot ec2 instances
Hi there, what's the status of this PR? I'm also looking for spot instances support (fargate_spot in my case). Is there anything I can do to speed this up?