I have the following data defined and in the AWS console I can find the images without issue:
data "amazon-ami" "al-2022" {
filters = {
name = "al2022-ami-2022.0.-*"
root-device-type = "ebs"
virtualization-type = "hvm"
}
most_recent = true
owners = ["137112412989"]
region = "${var.region}"
}
Can anyone explain what’s missing here?