-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
working with aws MWAA #58
Comments
Hi Hugo, |
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 |
I changed code_editor.mount to name=s3,path=s3://our_bucket/dags |
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
The text was updated successfully, but these errors were encountered: