$ ./guess_the_languageDevOps
DevOps · medium · #243

What does this block do?

data "aws_ami" "ubuntu" {
  most_recent = true
  owners      = ["099720109477"]
}
  1. Builds and registers a new AMI
  2. Saves the AMI ID into the remote state file
  3. Declares an input variable
  4. Looks up an existing AMI to reference
A data source only reads existing infrastructure; nothing is created, and its attributes can be used by resources.
Play DevOps ▸