Reading Data with Data Sources
Instead of hard-coding an AMI ID, you want Terraform to look up the latest Amazon Linux AMI at plan time and use its ID for an instance. What do you write?
Part of Prepare for the Terraform Associate. Next step: Implicit vs Explicit Dependencies
Choose one answer