You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/02/05 04:25:51 UTC

[GitHub] [airflow] dstandish commented on issue #13785: Apache Airflow's --> EmrAddStepsOperator throws up error as "ERROR - You must specify a region"

dstandish commented on issue #13785:
URL: https://github.com/apache/airflow/issues/13785#issuecomment-773778390


   region is configurable in the airflow connection (and if using system creds, of course configurable on your system).  
   
   if using airflow connection to retrieve aws creds, you add kwargs for aws client by putting `config_kwargs` in conn extra: https://github.com/apache/airflow/blob/master/airflow/providers/amazon/aws/hooks/base_aws.py#L371
   
   otherwise set region in system using either env vars or config files


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org