Sign inSign up free

365. Implicit vs Explicit Dependencies

easy 3 XP ~1 minQuiz

An EC2 instance's user data script downloads a file from S3 at boot. The permission comes from an aws_iam_role_policy that nothing in the instance block references, and on first apply the download sometimes fails with access denied. What is the fix?

Part of Prepare for the Terraform Associate. Next step: count vs for_each

Choose one answer