【发布时间】:2020-02-18 08:40:44
【问题描述】:
使用带有 terraform 的 GCP 创建 VPC 和全局 IP 地址,我不断收到此错误。
Error creating Network: googleapi: Error 403: Access Not Configured. Compute Engine API has not been used in project XXX before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/compute.googleapis.com/overview?project=XXXthen retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry., accessNotConfigured
Compute API 已启用至少一个月。
我还在使用一个对项目具有owner 权限的服务帐户。
我不明白如何进行这项工作。这已经持续了 3 天了。
有没有人有任何见解,因为我现在完全被难住了。
【问题讨论】:
-
您正在运行什么命令导致此错误?
-
您是否为此项目启用了计费功能?仔细检查错误消息中的项目 ID 与您启用了 Compute Engine API 的项目。
标签: google-cloud-platform google-compute-engine google-kubernetes-engine