GitHub user royassis edited a comment on the discussion: When dynamic mapping
of PythonVirtualenvOperator executor_config
@potiuk here's my issue.
I am using `PythonVirtualenvOperator` with `AwsBatchExecutor` which runs the
task inside an AWS Batch job.
I would like to dynamiclly tag the job with the `dag_id` and `run_id` also set
the jobName dynamiclly by runtime params.
But it seems that executor_config don't support it.
The real issue is that I can't connect the airflow task with the AWS Batch job
run.
EDIT:
Also the `executor_config` contains this configuration:
```python
"containerOverrides": {
"resourceRequirements": [
{"type": "VCPU", "value": "2"},
{"type": "MEMORY", "value": "4192"},
]
}
```
For setting the mem and cpus for the Aws Batch jobs, and this can't be set
dynamiclly.
GitHub link:
https://github.com/apache/airflow/discussions/57850#discussioncomment-14880902
----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]