6 google-cloud-platform google-cloud-functions
我在测试环境中测试后尝试在生产环境中部署云功能.测试环境中的一切都运行良好.但是在prod环境下,当我创建云功能时会出现以下错误
无法初始化区域
完整的堆栈驱动程序日志在这里:
{
protoPayload: {
@type: "type.googleapis.com/google.cloud.audit.AuditLog"
status: {
code: 13
message: "Failed to initialize a region"
}
serviceName: "cloudfunctions.googleapis.com"
methodName: "google.cloud.functions.v1beta2.CloudFunctionsService.CreateFunction"
resourceName: "projects/**********/locations/us-central1/functions/load-to-bigquery"
}
insertId: "54F77BC951659.A03E406.770C4DE6"
resource: {
type: "cloud_function"
labels: {
project_id: "**********"
region: "us-central1"
function_name: "load-to-bigquery"
}
}
timestamp: "2017-05-14T08:29:27.142Z"
severity: "ERROR"
logName: "projects/********/logs/cloudaudit.googleapis.com%2Factivity"
operation: {
id: "operations/dWRjb2xsZWN0L3VzLWNlbnRyYWwxL3VkYy10by1icS9NaXRlVlI2MW1xbw"
producer: "cloudfunctions.googleapis.com"
last: true
}
receiveTimestamp: "2017-05-14T08:29:28.495542553Z"
}
Run Code Online (Sandbox Code Playgroud)
我想知道错误的原因是什么?这两种环境非常相似,我在两种环境中都拥有相同的权限(项目编辑器).
| 归档时间: |
|
| 查看次数: |
463 次 |
| 最近记录: |