🔥 3-day streak
HashiCorp Certified: Terraform Associate (004)83 / 150
Question 83 of 150
A DevOps engineer must run a shell script on a newly created EC2 instance after Terraform provisions it. They have decided that user_data cannot be used for this task, so they add a remote-exec provisioner to the aws_instance resource. During apply, Terraform reports that it cannot establish a session to run the commands. What is the MOST likely cause of this failure?
Reviewed for accuracy · Report an issueNext question