I used to be able to deploy cloud functions, but not anymore it seems.
Steps:
- Click “Create function” in https://console.cloud.google.com
- Leave everything default -> next -> deploy
Deployment starts and finishes with errors:
This function has failed to deploy and will not work correctly. Please edit and redeploy.
Cloud Run service projects/random-360814/locations/us-central1/services/function-1 for the function was not found. The function will not work correctly. Please redeploy.
Build failed with status: FAILURE and message: An unexpected error occurred. Refer to build logs: https://console.cloud.google.com/cloud-build/builds;region=us-central1/c27ab140-87c0-4db8-a139-3caf65bd9fe0?project=817067604452. For more details see the logs at https://console.cloud.google.com/cloud-build/builds;region=us-central1/c27ab140-87c0-4db8-a139-3caf65bd9fe0?project=817067604452.
Build logs refered in the error message don’t add any info