Trying to build an Ubuntu based AMI I am getting an error No AMI was found matching filters
, where my filters are defined as,
source_ami_filter {
filters = {
name = "ubuntu/images/hvm-ssd/ubuntu-focal-20.04-amd64-server-*"
root-device-type = "ebs"
virtualization-type = "hvm"
}
When I go into the AMI marketplace and search for ubuntu 20.04
and choose an image and select an amd64
based image I copied this name from the AMI and verified that the virtualization and the root device type all matched.