GCF部署失败(区域/计费) [英] GCF deployment failure (region/billing)

查看:80
本文介绍了GCF部署失败(区域/计费)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

即使在其他项目上,我也无法部署功能. 我像往常一样使用gcloud functions deploy ...进行部署,现在出现此错误

I cannot deploy functions anymore, even on other projects. I'm deploying, as always, with gcloud functions deploy ... and now I get this error

Failed to initialize region (action ID: 5a9a2fb704b2df80): Error when configuring GCS bucket gcf-sources-*bucket id*-us-central1 in project *my project name is here*. Cause: The billing account for the owning project is disabled in state absent

这些项目从未计费,它们已经存在了将近3年,并且在go113或node8上部署时也没有问题

These projects never had billing, they are alive for almost 3 years and never had a problem deploying in go113 or node8

推荐答案

Node.js 8 Firebase云功能目前正在逐步淘汰,因为Node.js 8最近是.

Node.js 8 Firebase cloud functions are currently being phased out, as Node.js 8 was recently marked end as "end-of-life" by the Node.js foundation.

Node.js 8函数的部署将在2021年2月15日之后停止,并且已部署Node.js函数的执行将在2021年3月15日之后停止.

Deployment of Node.js 8 functions will stop after February 15, 2021, and executions of deployed Node.js functions will stop after March 15, 2021.

如果您最近已切换到Node.js 10 Firebase云功能,则这些功能需要Blaze即用即付计费计划和Firebase CLI版本≥8.1.0.使用Spark免费套餐,您无法部署Node.js 10 Firebase云功能

If you've recently switched to Node.js 10 Firebase cloud functions, these require the Blaze pay-as-you-go billing plan and the Firebase CLI version ≥ 8.1.0. Using the Spark free tier, you cannot deploy Node.js 10 Firebase cloud functions.

错误消息原因:在没有状态的情况下禁用了拥有项目的记帐帐户".提供了导致此问题的一些信息.

The error message "Cause: The billing account for the owning project is disabled in state absent" provides some information the cause of this issue.

这篇关于GCF部署失败(区域/计费)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆