Several weeks ago I faced that there is no simple way to use extra_index_url (pip) in MWAA. I had to make an experiment and maybe I found the solution.
I think that there are two main steps to fix this issue:
- add "pip.extra_index_url" : "YOUR_INDEX_URL" to the airflow configuration options
- use --extra-index-url ${AIRFLOW__PIP__EXTRA_INDEX_URL} param in your requirements.txt file.