[
https://issues.apache.org/jira/browse/AIRFLOW-5280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16940759#comment-16940759
]
ASF GitHub Bot commented on AIRFLOW-5280:
-----------------------------------------
ashb commented on pull request #5879: [AIRFLOW-5280] conn: Remove aws_default's
default region name
URL: https://github.com/apache/airflow/pull/5879
----------------------------------------------------------------
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:
[email protected]
> aws_default's region_name defaults to us-east-1 which causes major confusion
> for connections that do not use this region
> ------------------------------------------------------------------------------------------------------------------------
>
> Key: AIRFLOW-5280
> URL: https://issues.apache.org/jira/browse/AIRFLOW-5280
> Project: Apache Airflow
> Issue Type: Improvement
> Components: aws
> Affects Versions: 1.10.4
> Reporter: Marek Suppa
> Assignee: Marek Suppa
> Priority: Minor
>
> The `aws_default` by default specifies the `region_name` to be
> `us-east-1` in its `extra` field. This causes trouble when the desired
> AWS account uses a different region as this default value has priority
> over the $AWS_REGION and $AWS_DEFAULT_REGION environment variables,
> gets passed directly to `botocore` and does not seem to be documented.
> It seems that the best way of dealing with this situation would be to remove
> this default variable. The result of this would be that all aws_default
> connection parameters would have to manually define it which seems to be
> consistent with "explicit better than implicit" philosophy.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)