[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian 10 Buster AWS AMI



Hi Amit,

On Sat, Oct 05, 2019 at 11:43:03PM +0200, Amit Tewari wrote:
> I am using terraform to filter latest images, and was trying to figure
> out right way of selecting latest buster image. I am not sure, as of
> now, if I can use community images in module search, like used in
> https://github.com/otassetti/terraform-aws-ami-search . I shall be
> searching more.

Yep, this works just as you would hope:

data "aws_ami" "buster" {
  most_recent = true
  owners = ["136693071363"]

  filter {
    name = "name"
    values = ["debian-10-amd64-*"]
  }
}


Ross


Reply to: