google-cloud-platformtagsgoogle-cloud-runtrafficrevision

How to delete the latest revision on Cloud Run (GCP)


I'm trying to delete the latest revision "editor-v2-0-0" but there is the message "Latest revision cannot be deleted." as shown below even though it doesn't have any tags and 0% Traffic is set to it:

enter image description here

Is it impossible to delete the latest revision "editor-v2-0-0"?


Solution

  • Yes, it's impossible to delete the latest revision "editor-v2-0-0". The documentation says:

    You cannot delete a revision if:

    But, If you really want to delete the latest revision "editor-v2-0-0", create one more revision "editor-temp" which becomes the latest while the revision "editor-v2-0-0" becomes old as shown below, then now, you can delete the revision "editor-v2-0-0":

    enter image description here