(visually see servers in pic)
** error message **
gcloud app versions list
gcloud app versions delete <pid> <pid>
(second pid is optional)
gcloud app deploy --stop-previous-version
🐧 🐧 🐧 🐧
ref:
(visually see servers in pic)
** error message **
gcloud app versions list
gcloud app versions delete <pid> <pid>
(second pid is optional)
gcloud app deploy --stop-previous-version
🐧 🐧 🐧 🐧
ref:
All the above did not work. Finally realized that the build was pointing to the wrong project which did not have the cloud sql deployed in it. This seems to be a bug as the error message displayed was wrong. It showed a used quota of 8 and needed 2.
command again is
gcloud app versions list | grep -v SERVING | awk '{print $2}' | tail -n +1 | xargs -I {} gcloud app versions delete {}