Airflow error while creating EMR cluster via DAG
I am looking to create an EMR cluster via airflow DAG using EmrCreateJobFlowOperator using a role called dev-emr-ec2-profile-role for jobFlow. This role is used to provision EMR cluster via Terraform code and the role itself is created using Terraform code hosted in GitLab Repo. EMR clusters are successfully provisioned via Terraform. However, if I use the same role in a airflow dag, the below is the error.