borev opened a new issue, #72135:
URL: https://github.com/apache/airflow/issues/72135
### Under which category would you file this issue?
Airflow Core
### Apache Airflow version
Airflow 2.11.1
### What happened and how to reproduce it?
"When running _BeamRunJavaPipelineOperator_ with `deferrable=True `and
`impersonation_chain='target_service_account',` I get an 'access denied' /
'permission denied' error."
### What you think should happen instead?
You have to add "impersonation_chain":
self.dataflow_config.impersonation_chain, to
```
if self.deferrable:
trigger_args = {
"job_id": self.dataflow_job_id,
"project_id": self.dataflow_config.project_id,
"location": self.dataflow_config.location,
"gcp_conn_id": self.gcp_conn_id,
**"impersonation_chain":
self.dataflow_config.impersonation_chain,**
}
```
### Operating System
_No response_
### Deployment
Google Managed Service for Apache Airflow
### Apache Airflow Provider(s)
apache-beam
### Versions of Apache Airflow Providers
apache-airflow-providers-apache-beam==6.2.3
### Official Helm Chart version
Not Applicable
### Kubernetes Version
_No response_
### Helm Chart configuration
_No response_
### Docker Image customizations
_No response_
### Anything else?
_No response_
### Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
### Code of Conduct
- [x] I agree to follow this project's [Code of
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]