I'm planning to update from ubuntu 20.04 to 22.04, I had changed the config as below
"source_ami_filter": {
"filters": {
"virtualization-type": "hvm",
"name": "*ubuntu/images/hvm-ssd/ubuntu-focal-22.04-amd64-server-*",
"root-device-type": "ebs"
}
}
I'm getting error as no matching filters found. So far I had changed the filters to 22.04 but it didn't work
You name still has
focal
in it. Change it tojammy
Also the leading
*
isn't needed (though I suppose it isn't actively hurting anything either).For ref, this is my working filter:
I get the owner ID by looking up the AMI in my region (https://cloud-images.ubuntu.com/locator/ec2/) & then doing an
aws ec2 describe-images
.E.g.
=>