How I can delete a network interface that is connected with lambda function that does not exist anymore

0

Hi there,

I have faced issues with removing my network interface. AWS console says it's attached to the lambda function but that function was removed several months ago (screenshot) so I'm not sure what is wrong.

I've tried also some recommendations from https://repost.aws/questions/QUqNXHXZIPT7WFxmB4lCmaUA/cannot-delete-network-interface by trying to detach it but I still have no luck with that.

admin@ip-x-x-x-x:~$ aws ec2 detach-network-interface --attachment-id ela-attach-06300c91f31880db9 --region=us-east-1 --force

An error occurred (OperationNotPermitted) when calling the DetachNetworkInterface operation: You are not allowed to manage 'ela-attach' attachments.

Could you please let me know what else I need to try?

Gridics
質問済み 3ヶ月前195ビュー
2回答
2
承認された回答

Hi,

The section 'Resolution' of https://repost.aws/knowledge-center/lambda-eni-find-delete should provide with the solution to delete the ENÌ.

Best,

Didier

profile pictureAWS
エキスパート
回答済み 3ヶ月前
profile picture
エキスパート
レビュー済み 2ヶ月前
0

Thanks, @Didier. I think I know the issue. I've several other Lambda functions in that VPC and somewhere in the docs, I saw that Lambda shares ENI with other functions in the same VPC.

Gridics
回答済み 3ヶ月前
  • Hi Gridics, glad that you found solution to your issue. Thanks for accepting my answer!

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ