Error: Your query returned no results. Please change your search criteria and try again

Hi All,

Initially I created image using Packer and then trying to pull that AMI using data block, but I’m getting this error. Could you please help me understand that where I made mistakes. PFB snaps.



At first glance it looks like your AMI filters are not locating the image. Try finding it with the aws cli first to make sure it’s there:

aws ec2 describe-images \
--region <region> \
--filters "Name=name,Values=golden-image-automation-2022-07-21" \
"Name=root-device-type,Values=ebs" \