2022-06-09 19:52:10 so, docker and kubernetes crashes on latest ubuntu aws kernel today. I wonder it we should deploy alpine kernel instead for k0s testsing. 2022-06-09 19:52:24 how do I deploy alpine on aws with terraform? 2022-06-09 19:59:24 Basically I'd like to run this with alpine instead of ubuntu: https://github.com/k0sproject/k0s/blob/release-1.21/inttest/conformance/terraform/main.tf 2022-06-09 19:59:47 ncopa: https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/instance#example-usage 2022-06-09 20:00:13 https://www.alpinelinux.org/cloud/ has all the AMIs 2022-06-09 20:00:29 ami-0b08bb98697ef650b Would be 3.16.0 x86_64 on us-east-1 2022-06-09 20:01:41 I don't have an aws account, so cannot see if there is a way to find the AMI with a aws_ami data source 2022-06-09 20:49:29 will try tomorrow. thanks! 2022-06-10 00:44:50 iirc the `data` source for AMIs allow you to set a filter (and select the latest match) but it's been a while since i did a TF deploy that used a data source 2022-06-10 04:20:59 tomalok: indeed, I just didn't know what to filter on 2022-06-10 14:21:35 ikke: the README of https://gitlab.alpinelinux.org/alpine/cloud/alpine-cloud-images has some guidance on filters -- although it's geared for the aws cli, it should help get you started -- the name field contains all the variant information, so that's a very good candidate to filter on. you'll probably also want to set "most_recent = true" to get 2022-06-10 14:21:35 the most recent matching image. unfortunately for Terraform, the "owners" attribute is required and there's no value (that I know of) to specify "any image i can access, regardless of ownership)