AWS lambda功能给出了EFS网络错误

发布于 2025-02-10 19:29:10 字数 1516 浏览 2 评论 0原文

添加EFS文件系统后,我的AWS lambda功能停止工作。 首先我创建了EFS EFS中的安全组如下 和访问点,请检查附带的屏幕截图

然后创建AWS lambda,在AWS lambda功能期间,我选择了一个角色 角色如下 VPC设置如下 VPS的安全组是 到目前为止,Hello Lambda功能正在工作。

但是,当我添加EFS时,它停止工作并说'调用Invoke API操作失败了此消息:网络错误'

My aws lambda function stop working after adding EFS file system.
First I created EFS
enter image description here
the security group in EFS is as follow
enter image description here
and access point, please check attached screen shot
enter image description here

then create aws lambda, during the aws lambda function, i chose a role
enter image description here
The role is as follow
enter image description here
The VPC settings is as follow
enter image description here
The security group of VPS is
enter image description here
Till this point hello lambda function is working.
enter image description here

But as I add EFS it stopped working and say 'Calling the invoke API action failed with this message: Network Error'

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文