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)]

demandé il y a 5 mois151 vues
1 réponse
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
EXPERT
répondu il y a 5 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions