无法删除 AWS VPC 端点

Unable to delete AWS VPC Endpoint

我的一个 CloudFormation 堆栈卡在 UPDATE_COMPLETE_CLEANUP_IN_PROGRESS 中,因为我试图删除不再需要的子网。然而,这个子网显然附加了一些资源,包括一个 EC2 实例和一个 VPC 端点。我无法在 AWS 中删除此 VPC 端点。当我尝试删除 VPC 端点时,收到以下错误消息:

如何找出此 VPC 端点具有哪些依赖项并着手删除它?

据我所知 Google,Operation is not allowed for requester-managed VPC endpoints for the service 表示 AWS 为我创建了这个 VPC 端点,作为对某些资源的请求的一部分。但是,我不知道此 VPC 端点绑定到哪个资源。

更新: VPC 端点使用 ENI,但是当我尝试 delete/detach 这个 ENI 时,它说 ENI 正在被服务使用,因此无法删除。

因为它是请求者管理的 VPC 端点。

Requester-managed network interfaces

You cannot modify or detach a requester-managed network interface. If you delete the resource that the network interface represents, the AWS service detaches and deletes the network interface for you. To change the security groups for a requester-managed network interface, you might have to use the console or command line tools for that service.

您需要删除创建此 vpc 端点的资源。

您没有 RDS 代理吗?它代表客户创建 VPC 端点。