🔥 3-day streak
HashiCorp Certified: Terraform Associate (004)12 / 150
Question 12 of 150
An engineer manages an AWS EC2 instance that runs a startup script needing an IAM policy to be fully attached before the instance boots. The instance configuration does not reference any attribute of the IAM policy resource, so Terraform sometimes creates them in parallel, causing the script to fail. Which change should the engineer make to guarantee correct ordering?
Reviewed for accuracy · Report an issueNext question