Sign inSign up free

362. Reading Data with Data Sources

easy 3 XP ~1 minQuiz

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