AWS mwaa documentation change
Summary
Deleted Apache Airflow v1.10.12-specific instructions for dependency management, including constraints and example requirements
Security assessment
Removal of version-specific dependency guidance does not directly relate to security issues or introduce security documentation.
Diff
diff --git a/mwaa/latest/userguide/working-dags-dependencies.md b/mwaa/latest/userguide/working-dags-dependencies.md index c924f6b73..b26d72bc1 100644 --- a/mwaa/latest/userguide/working-dags-dependencies.md +++ b/mwaa/latest/userguide/working-dags-dependencies.md @@ -147,36 +131,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`.