Difference between revisions of "Terraform data source: aws ami"

From wikieduonline
Jump to navigation Jump to search
Line 2: Line 2:
 
* [[AWS instance example with aws ami lookup]]
 
* [[AWS instance example with aws ami lookup]]
  
 +
 +
data "aws_ami" "amzlinux2" {
 +
  most_recent = true
 +
  owners      = ["amazon"]
 +
 
 +
  filter {
 +
    name  = "name"
 +
    values = ["amzn2-ami-hvm-*-x86_64-ebs"]
 +
  }
 +
}
  
 
== See also ==
 
== See also ==
 +
* {{Terraform data sources}}
 
* {{Terraform}}
 
* {{Terraform}}
  
 
[[Category:Terraform]]
 
[[Category:Terraform]]

Revision as of 04:11, 28 February 2022

Advertising: