Terraform – Fails to Launch EC2 Instance Due to Suspected Lack of IAM Rights

amazon-web-servicesterraform

Which iam rights are required for terraform to check instance health during aws_instance creation?

I'm seeing this error:

* aws_instance.myinstance: Error waiting for instance (i-*********) to become ready:
Failed to reach target state. 
Reason: Client.InternalError: Client error on launch

Best Answer

Executing the plan with TF_LOG=DEBUG will print the API Reply, and this reply mentions the missing Right.