nicholascz666666 opened a new issue, #45036:
URL: https://github.com/apache/airflow/issues/45036
### Apache Airflow Provider(s)
amazon
### Versions of Apache Airflow Providers
2.10.1
### Apache Airflow version
9.1.0
### Operating System
N/A
### Deployment
Amazon (AWS) MWAA
### Deployment details
I tried to configure the Number Of Workers and worker type within the
run_job_kwargs parameter with jinja format like the following
run_job_kwargs={"NumberOfWorkers": '{{
ti.xcom_pull(task_ids="dummy",key="dummy") }}', "WorkerType":"dummy_type"}
### What happened
the value with the jinja format was not recognized during run time and it
shows the error that the Number Of Workers should have input type int rather
than a string '{{ ti.xcom_pull(task_ids="dummy",key="dummy") }}'
### What you think should happen instead
'{{ ti.xcom_pull(task_ids="dummy",key="dummy") }}' should pick up the real
value during run time
### How to reproduce
this could be reproduced by creating a dummy function to push some value to
the xcom first then using a glue job operator with specifying
run_job_kwargs={"NumberOfWorkers": '{{
ti.xcom_pull(task_ids="dummy",key="dummy") }}', "WorkerType":"dummy_type"}
### Anything else
_No response_
### Are you willing to submit PR?
- [X] 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]