Can't delete VPC

0

Hi, when I try to delete a vpc I receive this error: Enter image description here

Seems I can't delete it because of the network interfaces, but then when I try to delete them I receive: Enter image description here

So I can't because of the VPC endpoint, then trying to delete it I receive: Enter image description here I can't detach the NIC either.

When I click on details it's not expading to show the errors, so I have no idea what's the issue.

Could I please get some support with this?

Thanks.

Felipe
asked 24 days ago211 views
1 Answer
0

Hi THere

Can you try deleting the VPC endpoint using the delete-vpc-endpoints CLI command via CloudShell? It might give more details as to the error

https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2/delete-vpc-endpoints.html

profile pictureAWS
EXPERT
Matt-B
answered 24 days ago
profile pictureAWS
EXPERT
reviewed 24 days ago
  • Thanks, I've got this:

    {
        "Unsuccessful": [
            {
                "Error": {
                    "Code": "InvalidParameter",
                    "Message": "Operation is not allowed for requester-managed VPC endpoints for the service com.amazonaws.vpce.eu-west-1.vpce-svc-0a285c22aead6e080."
                },
                "ResourceId": "vpce-08fb672ed6ebf2598"
            }
        ]
    }
    

    It's a start, will try to solve it now

  • Great! Please take a look at this KB article for troubleshooting deleting requester managed vpc endpoints: https://repost.aws/knowledge-center/vpc-delete-requester-managed-endpoint. You might have Aurora serverless, AWS Network Firewall, RDS Proxy, or a Redshift vpc endpoint. In that case, you need to delete those services which will in turn delete the endpoint.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions