Search code examples
gogoogle-cloud-platformgoogle-cloud-run

Cloud Run Trigger execution failed when creating a service


I am having problems creating a service in cloud run. I am following this tutorial, using the Go template that GCP provides. But I get this error: Trigger execution failed: source code could not be built or deployed, no logs are found. I tried with the template that they provide, and with my own application in Go. The app works fine when running with docker. What could be happening? I don't have more logs than that.

error creating service

Edit: In log explorer more logs are shown and there was an error which showed the IAM API disabled. Enabling this api, the creation of the service works fine


Solution

  • Might sound redundant but have you checked the logs on Log Explorer / Stackdriver? The tutorial you just shared should be pretty straightforward. Maybe there (Log Explorer) we can have some more information