AWS Lambda:无法删除arn,因为它是复制函数 [英] AWS Lambda: unable to delete arn because it is a replicated function

查看:88
本文介绍了AWS Lambda:无法删除arn,因为它是复制函数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试通过GUI删除AWS Lambda函数,但得到响应:删除函数时出错:Lambda无法删除arn:aws:lambda:us-east-1:624929674184:function:lambda-auth:1,因为它是复制的函数.

I'm trying to delete an AWS Lambda function through the GUI, but am getting a response: There was an error deleting your function: Lambda was unable to delete arn:aws:lambda:us-east-1:624929674184:function:lambda-auth:1 because it is a replicated function.

如何删除复制的Lambda函数?

How can one delete replicated Lambda functions?

推荐答案

复制函数是 Lambda @ Edge 所使用的,因此即使没有说明,我也认为是这种情况.您应该在如何删除这些.您目前无法手动删除它们:

Replicated functions are something Lambda@Edge uses, so I assume that's the case here even though it's not stated. You should review this document on how to delete these. You can't manually delete them at this time:

只有在以下情况下,您才能删除Lambda @ Edge函数:功能已被CloudFront删除.Lambda的副本功能在以下情况下会自动删除:

从所有功能中删除该功能的最后一个关联之后您的CloudFront发行版.如果多个发行版使用函数,仅当该函数为与上一个解除关联.

After you have removed the last association for the function from all of your CloudFront distributions. If more than one distribution uses a function, the replicas are removed only after the function is disassociated from the last one.

删除与功能关联的最后一个发行版之后

After you delete the last distribution that a function was associated with.

复制品通常会在几个小时内删除.

Replicas are typically deleted within a few hours.

注意:

目前无法手动删除副本.这有助于防止您删除仍在使用的副本的情况,这会导致错误.

Replicas cannot be manually deleted at this time. This helps prevent a situation where a replica is removed that you're still using, which would result in an error.

这篇关于AWS Lambda:无法删除arn,因为它是复制函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆