Guillaume Poulin created AIRFLOW-6161:
-----------------------------------------
Summary: GoogleCloudBaseHook delegate_to doesn't work with GCE
service account
Key: AIRFLOW-6161
URL: https://issues.apache.org/jira/browse/AIRFLOW-6161
Project: Apache Airflow
Issue Type: Bug
Components: gcp
Affects Versions: 1.10.3, 2.0.0
Environment: cloud composer
Reporter: Guillaume Poulin
Currently passing `delegate_to` to GoogleCloudBaseHook will cause a
AttributeError if the credentials come from the GCE metadata since
`google.auth.compute_engine.credentials.Credentials` doesn't have the method
`with_subject`. This seems related to
[https://github.com/googleapis/google-auth-library-python/issues/310]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)