当我们需要扩展AWS中的气流功能时,我们只需在与MWAA实例关联的requirements.txt文件中列出所需的python包。MWAA自己安装。但是,我们如何删除以前安装的软件包呢?仅仅从requirements.txt中删除它们并不能使MWAA卸载它们。
发布于 2022-05-31 05:44:00
您必须上传一个空白的requirements.txt文件并重新更新环境。
Can I remove a plugins.zip or requirements.txt from an environment?
Currently, there is no way to remove a plugins.zip or requirements.txt from an environment once they’ve been added, but we're working on the issue. In the interim, a workaround is to point to an empty text or zip file, respectively. To learn more, see Deleting files on Amazon S3.参考资料:https://docs.aws.amazon.com/mwaa/latest/userguide/mwaa-faqs.html
https://stackoverflow.com/questions/72129782
复制相似问题