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

asked 5 months ago130 views
1 Answer
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
answered 5 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions