Closed hugochinchilla closed 2 months ago
After reading the code more carefully I realized I only had to pass the image name to the --cloud-image
flag.
So after passing --cloud-image="Deep Learning AMI GPU CUDA 11.2.1 (Ubuntu 20.04) 20220626"
it finally started an instance with ubuntu 20.04.
sorry, forgot to close the Issue with the previous comment
Hello, please I need help, I've been trying to figure this out and I cannot understand why I'm getting a runner being created with ubuntu 18.04.
I've followed the code from cml to the terraform-provider-iterative project and tried to make use of the image parameter in TPI. I've seen an undocumented
--cloud-image
flag in CML and tried to use it, but when I do, the task never completes as the instance never becomes ready.This is how I'm creating the runner.
When I've tried with the
--cloud-image
flag I've tried using--cloud-image="nvidia"
and--cloud-image="ubuntu@898082745236:x86_64:Deep Learning AMI GPU CUDA 11.3.* (Ubuntu 20.04) *"
but neither worked.I got the values from here https://github.com/iterative/terraform-provider-iterative/blob/main/task/aws/resources/data_source_image.go#L40-L41