Home  >  Article  >  Backend Development  >  Cloud Run trigger execution fails when creating service

Cloud Run trigger execution fails when creating service

王林
王林forward
2024-02-06 11:09:03478browse

创建服务时 Cloud Run 触发器执行失败

Question content

I have a problem creating a service in Cloud Run. I'm following this tutorial, using the Go templates provided by GCP. But I get this error: Trigger execution failed: Unable to build or deploy source code, log not found. I tried using the templates they provide as well as my own Go application. The application runs fine when run with docker. What might happen? I don't have any more logs than this.

EDIT: Showing more logs in Log Explorer and getting an error saying IAM API is disabled. With this api enabled, the creation of the service works fine


Correct Answer


Might sound redundant, but have you checked the logs on Log Explorer/Stackdriver? The tutorial you just shared should be very simple. Maybe there (log browser) we can get more information

The above is the detailed content of Cloud Run trigger execution fails when creating service. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:stackoverflow.com. If there is any infringement, please contact admin@php.cn delete