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

已提問 5 個月前檢視次數 153 次
1 個回答
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
專家
已回答 5 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南