I am facing issues with creating an EMR cluster, and I am unable to successfully set it up using either the AWS Management Console or Terraform. I need a step-by-step guide on how to properly configure the cluster, including setting up the necessary Spark environment, instance types, IAM roles, and any other configurations required to submit and execute Spark jobs on the cluster.
Please provide step to create EMR cluster which I can use to execute for Spark job