[
https://issues.apache.org/jira/browse/AIRFLOW-5169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16905226#comment-16905226
]
ASF GitHub Bot commented on AIRFLOW-5169:
-----------------------------------------
kaxil commented on pull request #5783: [AIRFLOW-5169] Pass Project ID
explicitly to StorageClient in GCS Hook
URL: https://github.com/apache/airflow/pull/5783
----------------------------------------------------------------
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]
> Pass GCP Project ID explicitly to StorageClient in GCSHook
> ----------------------------------------------------------
>
> Key: AIRFLOW-5169
> URL: https://issues.apache.org/jira/browse/AIRFLOW-5169
> Project: Apache Airflow
> Issue Type: Bug
> Components: gcp
> Affects Versions: 1.10.4
> Reporter: Kaxil Naik
> Assignee: Kaxil Naik
> Priority: Major
> Fix For: 1.10.5
>
>
> If Project_id is not passed to the StorageClient it tries to infer the
> Project_ID from the environment variables or Cloud SDK.
> If neither env variables is set nor Cloud SDK is configured it will error
> with the following message:
> {code}
> google.auth.exceptions.DefaultCredentialsError: Could not automatically
> determine credentials. Please set GOOGLE_APPLICATION_CREDENTIALS or
> explicitly create credentials and re-run the application. For more
> information, please see
> https://cloud.google.com/docs/authentication/getting-started
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)