datazone - environment deleation

0

I am not able to delete environment in AWS Datazone. If some one can let me know how to get this done, it would be highly appreciate it. Thanks Error message - Environment Status: [The following resource(s) failed to delete: [IAMRoleuserrole76F344C9]. , Resource handler returned message: "Cannot delete entity, must detach all policies first. (Service: Iam, Status Code: 409, Request ID: f253e92d-1be4-4d2a-9f7e-fdd4bdc0f6eb)" (RequestToken: 6b47cf01-63dc-7ab7-38c1-5059c2cae3ab, HandlerErrorCode: GeneralServiceException)]

preguntada hace 5 meses153 visualizaciones
1 Respuesta
0

Hello.

From the content of the error, it seems that deletion of the IAM role "IAMRoleuserrole76F344C9" has failed.
Therefore, please detach the IAM policy set to "IAMRoleuserrole76F344C9" according to the error message and then perform the deletion action.
I think the following document will be helpful for detaching IAM policies.
https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_manage-attach-detach.html#remove-policies-console

profile picture
EXPERTO
respondido hace 5 meses

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