most recent

From wikieduonline
Revision as of 08:36, 5 April 2023 by Welcome (talk | contribs)
Jump to navigation Jump to search


 data "aws_ami" "my_ubuntu" {
  most_recent = true

  filter {
    name   = "name"
    values = ["ubuntu/images/hvm-ssd/ubuntu-hirsute-21.04-amd64-server-*"]
  } 

  filter {
    name   = "virtualization-type"
    values = ["hvm"]
  } 

  owners = ["099720109477"] # Canonical
}


Error: Your query returned more than one result. Please try a more specific search criteria, or set `most_recent` attribute to true.


Advertising: