AWS MWAA plugin #17858
Replies: 1 comment
-
Not sure this is super helpful, but some 🧵 quotes for posterity: """ """ """ """
And the requirements.txt goes to s3://$S3_BUCKET/requirements.txt it looks like """ Instead of it doing a pip resolve for you every time """ """ """ a layout="packed" PEX contains the installed-state wheels zipped back up as .whl files, which you may be able to use for this, even though they are not identical to the pypi wheels (e.g., they contain an INSTALLED file) |
Beta Was this translation helpful? Give feedback.
-
AWS MWAA or "Amazon Managed Workflows for Apache Airflow" https://docs.aws.amazon.com/mwaa/latest/userguide/what-is-mwaa.html is an AWS service for managed service for Apache Airflowhttps://airflow.apache.org/. Airflow is usually described as a pure python orchestrator or "really fancy crontab". You define in python "go do this job at this time" with various configuration knobs for retries and dependency graphs. The jobs themselves have plugable "operators" (docker, k8s, bash) which notable include more pure python. Any python code needs to have the right 3rd party dependencies available in the managed environment.
The deploy procedure is described in:
https://docs.aws.amazon.com/mwaa/latest/userguide/working-dags-dependencies.html
https://docs.aws.amazon.com/mwaa/latest/userguide/best-practices-dependencies.html#best-practices-dependencies-python-wheels
So to deploy into the managed environment one:
A plants plugin would do something like:
dist
Slack 🧵 https://pantsbuild.slack.com/archives/C046T6T9U/p1667574027454759
Beta Was this translation helpful? Give feedback.
All reactions