-
Notifications
You must be signed in to change notification settings - Fork 314
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API doesn't allow deletion #4031
Comments
Hi Sean! Sorry for the late reply! When deploying ParallelCluster API, you can turn on Thank you, |
Hi @hanwen-pcluste , I am getting the same error even with
Do you have any suggestions on how to possibly start debugging this? |
I am seeing the same issue. API: iam:DetachRolePolicy User: arn:aws:sts:::assumed-role// is not authorized to perform: iam:DetachRolePolicy on resource: role because no identity-based policy allows the iam:DetachRolePolicy action |
More clarification now that I'm less lost in the sauce. Duplicate status reason for failure from cloudformation: Followed by: I dug into -ParallelClusterUserRole-SMKBU57WKIRH and the it has the policy, -DefaultParallelClusterIamAdminPolicy-PX5O0ZY2OF78. Snippet from that policy: |
@zbarr You can resolve the error by adding permissions - see this guide: https://isc22.hpcworkshops.com/04-container-parallelcluster/01-update-lambda.html I put together for one of our conferences. We'll keep this issue open to track until we have a real solution. |
Shouldn't this be marked as a bug, rather than enhancement? It's broken functionality. |
I ran into the same issue with pcluster-manager here: aws-samples/pcluster-manager#279 As the conditions for |
Hi @zbarr and @stephenmsachs |
Required Info:
3.1.2
Bug description and how to reproduce:
When deleting a cluster with pcluster API, I get:
Wondering if we can add
iam:DetachRolePolicy
to theParallelClusterUserRole
created by the API?In the cluster's config I've set the following
AdditionalIamPolicies
:The text was updated successfully, but these errors were encountered: