Difference between revisions of "Most recent"
Jump to navigation
Jump to search
(Created page with "{{lc}} {{aws_ami example}} * {{aws_ami}}") |
(→Errors) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
+ | == Errors == | ||
+ | * <code>[[Error: Your query returned more than one result. Please try a more specific search criteria, or set `most_recent` attribute to true.]]</code> | ||
+ | == See also == | ||
+ | * {{aws_ami}} | ||
− | + | [[Category:AWS]] | |
− |
Latest revision as of 17:42, 29 February 2024
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 }
Errors[edit]
See also[edit]
Advertising: