working with aws MWAA #85
Replies: 3 comments
-
Hi Hugo, |
Beta Was this translation helpful? Give feedback.
-
Hi There are still some issues like the "delete" not working but airflow-code-editor is operational and thats great ! Now I got to learn how to bind it with git but that is another story Thanks |
Beta Was this translation helpful? Give feedback.
-
I changed code_editor.mount to name=s3,path=s3://our_bucket/dags |
Beta Was this translation helpful? Give feedback.
-
Hi,
I would like to solve
https://stackoverflow.com/questions/72726969/how-can-we-use-airflow-code-editor-or-simple-dag-editor-on-aws-airflow-mwaa/73454971#73454971
I follow every Andrea instruction but it doesn't work.
I will post more info here to help
Our configuration :
MWAA airflow version is 2.2.2
To setup airflow-code-editor :
I added the code_editor.mount envariable in MWAA (name=dags,path=s3://our_bucket)
I added this to my requirements
MWAA has been tested with s3:* on * permissions
What works:
airflow-code-editor is accessible
in the "files" folder we fine our dags
in the "dags" folder we fine our dags
reading dags
What doesn't work:
upload does nothing
+new open an editor, the button save make the following error
Error saving dag/new file.txt: operation failed, [Errno 30] Read-only file system: b'/usr/local/airflow/dags/'
opening a dags and clicking save
Error saving tutorial_dag_from_airflow.py: operation failed, [Errno 30] Read-only file system: b'/usr/local/airflow/dags/tutorial_dag_from_airflow.py'
What I can do to help
I would take me a bit of time to anonymize but I could provide the terraform code to reproduce
I also can write PR with a bit of guidance for where to search the bug
Thanks
Regards
Hugo
Beta Was this translation helpful? Give feedback.
All reactions