- Newest
- Most votes
- Most comments
There was a similar issue reported. Check if it helps:
https://repost.aws/questions/QUsua3vTNJTEC2bE5JoqS8xg/cannot-delete-network-interface
Hello data-hyper,
You may wish to try forcing a detachment with the "--force" flag set on a detach-network-interface command as per these docs: https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2/detach-network-interface.html
As this issue relates to a specific resource under your account, I would recommend that you reach out to AWS Support for further assistance if the above recommendation does not resolve the issue.
I got an error trying to delete the network interface
aws ec2 detach-network-interface --force --attachment-id ela-attach-#########
An error occurred (OperationNotPermitted) when calling the DetachNetworkInterface operation: You are not allowed to manage 'ela-attach' attachments.
Relevant content
- asked 5 months ago
- asked 4 years ago
- asked 2 years ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated 9 months ago