google provider: GCP credentials are not passed into transfer job polling when executing S3ToGCSOperator #37331
Labels
area:providers
good first issue
kind:bug
This is a clearly a bug
provider:amazon
AWS/Amazon - related issues
provider:google
Google (including GCP) related issues
Apache Airflow Provider(s)
google
Versions of Apache Airflow Providers
apache-airflow-providers-google==10.9.0
Apache Airflow version
2.7.2
Operating System
Linux
Deployment
Amazon (AWS) MWAA
Deployment details
No response
What happened
When executing S3ToGCSOperator, it creates the data transfer job successfully but fails to get the job status because it looks for GCP default credentials rather than using the provided
gcp_conn_id
.What you think should happen instead
I think that S3ToGCSOperator should create the storage API object with the GCP credentials provided (
gcp_conn_id
)How to reproduce
Anything else
No response
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: