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

posta 5 mesi fa151 visualizzazioni
1 Risposta
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
ESPERTO
con risposta 5 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande