Amazon Linux data source not found

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?

I see a hyphen before the asterisk in the name filter. Is that intentional? Thinking it should be:

name                = "al2022-ami-2022.0.*"

Yeah you and I found that this morning around the same time. Thanks for checking.

Great! Glad you figured it out.