We are looking into using MWAA and we already have docker images stored in ECR.
Is it possible to pull a docker image in ECR from a DAG running in MWAA ?
We are looking into using MWAA and we already have docker images stored in ECR.
Is it possible to pull a docker image in ECR from a DAG running in MWAA ?
Yes it can. DockerOperator
takes the image
parameter, this can be an ECR URL.
You will have to ensure that your Airflow has access to the ECR. For DockerOperator
this can be done by configuring an Airflow connection like docker_conn_id
.