Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Unable to delete compute instance

Need help !! Please refer to error message below.

I am unable to delete instance-20240320-201528. I guess it got created while I was trying to pass on the SSH key and enter the wrong user name by mistake. 

Please suggest how to delete this instance. I tried deleting it but got the message ( Failed to delete instance-20240320-201528: Required Current principal doesn't have permission to mutate this resource!' permission) 

Error.jpg

My trial period is coming to an end and I want to make sure that I clean everything. Appreciate your help.

Error.jpg

Editing VM instance "instance-20240320-201528" failed. Error: Required 'Current principal doesn't have permission to mutate this resource!' permission for 'instance-20240320-201528'

Solved Solved
4 14 5,008
1 ACCEPTED SOLUTION

I tried giving the permission through service account.. Do you recommend the command that I can use to assign permission to user (PII Removed by Staff). What all role does it need.?

View solution in original post