簡體   English   中英

如何解決“您的項目沒有雲服務機器人帳戶。請確保為您的項目啟用了 Dataflow API。”

[英]How to fix "There is no cloudservices robot account for your project. Please ensure that the Dataflow API is enabled for your project."

我們正在使用 Terraform 在 Google Cloud 上部署資源“google_dataflow_job”。 幾周前我們進行了成功的部署(數據流 API 多年來已經啟用)。

我們現在在執行“terraform plan”時出現此錯誤

Error: Error when reading or editing Dataflow job 2020-10-07_06_20_01-18099947630909311965: googleapi: Error 400: (10a8bef84dbdde13): There is no cloudservices robot account for your project. Please ensure that the Dataflow API is enabled for your project., failedPrecondition

我們有這些帳戶: IAM 帳戶

有誰知道如何添加這個雲服務機器人帳戶?

我在運行 terraforms 時遇到了同樣的錯誤,並且在重新創建作業時似乎已經解決了。

我做了以下步驟:

  1. 從控制台取消作業
  2. 從 terraform state 中刪除作業
  3. 重新運行 terraform 以再次創建數據流作業

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM