Cant remove ressources

0

Hi, i had for testing purposes a Workspace instance running. Now i tried to remove the directory . When i want to delete the directory i need to delete first the networkcards. When i try to detach the card it says "Error detaching network interface
eni-abcdefg: You do not have permission to access the specified resource.".
When i try to delete the security group it says:
"Note that the following security groups cannot be deleted:
These security groups are associated with one or more network interfaces. Delete the network interfaces, or associate them with different security groups. View your network interfaces.
sg-1234- d-abcfeg_controllers"

So what can i do?

Best wishes,
Robert

preguntada hace 4 años312 visualizaciones
1 Respuesta
0
Respuesta aceptada

Hi Robert,

In order to delete the ENIs and security groups used by the directory, you need to delete the directory first. If you receive an error deleting a directory then please make sure that no AWS applications are enabled for the directory by following the steps in this link:
https://docs.aws.amazon.com/directoryservice/latest/admin-guide/simple_ad_delete.html

After deleting the directory, you should be able to delete the ENIs and security groups belonging to the directory.

Thanks,
Abdallah

AWS
respondido hace 4 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas