AWS mwaa documentation change
Summary
Removed Apache Airflow v1 dependency management instructions
Security assessment
Documentation cleanup for deprecated Airflow v1, but no explicit security vulnerability mentioned.
Diff
diff --git a/mwaa/latest/userguide/best-practices-dependencies.md b/mwaa/latest/userguide/best-practices-dependencies.md index 03f5d22cd..fd7cb2a4b 100644 --- a/mwaa/latest/userguide/best-practices-dependencies.md +++ b/mwaa/latest/userguide/best-practices-dependencies.md @@ -102,36 +88,0 @@ If a package is specified without a version, Amazon MWAA installs the latest ver -Apache Airflow v1 - - - 1. **Test locally**. Add additional libraries iteratively to find the right combination of packages and their versions, before creating a `requirements.txt` file. To run the Amazon MWAA CLI utility, see the [aws-mwaa-local-runner](https://github.com/aws/aws-mwaa-local-runner) on GitHub. - - 2. **Review the Airflow package extras**. Review the list of packages available for Apache Airflow v1.10.12 at [https://raw.githubusercontent.com/apache/airflow/constraints-1.10.12/constraints-3.7.txt](https://raw.githubusercontent.com/apache/airflow/constraints-1.10.12/constraints-3.7.txt). - - 3. **Add the constraints file**. Add the constraints file for Apache Airflow v1.10.12 to the top of your `requirements.txt` file. If the constraints file determines that `xyz==1.0` package is not compatible with other packages on your environment, the `pip3 install` will fail to prevent incompatible libraries from being installed to your environment. - - --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-1.10.12/constraints-3.7.txt" - - 4. **Apache Airflow v1.10.12 packages**. Add the [Airflow package extras](https://airflow.apache.org/docs/apache-airflow/1.10.12/installation.html#extra-packages) and the Apache Airflow v1.10.12 version (`==`). This helps to prevent packages of the same name, but different version, from being installed on your environment. - - apache-airflow[package]==1.10.12 - -###### Example Secure Shell (SSH) - -The following example `requirements.txt` file installs SSH for Apache Airflow v1.10.12. - - apache-airflow[ssh]==1.10.12 - - 5. **Python libraries**. Add the package name and the version (`==`) in your `requirements.txt` file. This helps to prevent a future breaking update from [PyPi.org](https://pypi.org) from being automatically applied. - - library == version - -###### Example Boto3 - -The following example `requirements.txt` file installs the Boto3 library for Apache Airflow v1.10.12. - - boto3 == 1.17.4 - -If a package is specified without a version, Amazon MWAA installs the latest version of the package from [PyPi.org](https://pypi.org). This version may conflict with other packages in your `requirements.txt`. - - - -