我正在尝试构建一个小平台的python,以获取所有项目的计费信息在谷歌云中的组织。在完成所有步骤(我检查了两次)之后,我的小程序就不能像spect那样工作了。47, in main File "/Users/alek/.pyenv/versions/gcloud-billing/lib/python3.9positional_wrapper
return wrapped(*arg
module "service_accounts" { version/service-accounts/google 说
Service account or user credentials with the following roles must be usedservice account: googleapi:
Check if this environment's service account ... .iam.gserviceaccount.com oauth2client.client.HttpAccessTokenRefreshError: Failed to retrieve
http://metadata.google.internalcomputeMetadata/v1
代码运行时会出现以下错误:
(node:24310) UnhandledPromiseRejectionWarning: Error: 7 PERMISSION_DENIED: Cloud Spanner APIEnable it by visiting https://console.developers.google.com/apis/api/spanner.googleapis.com/overview?If you enabled this API rec
在Terraform中,我启用了这样的服务: service = "apigateway.googleapis.com"之后,我确保仅在资源创建之后才引用apigateway (service-123@gcp-sa-apigateway.iam.gserviceaccount.com)的服务帐户。现在确实会发生这样的情况:在使用sa的电子邮件时,我收到一个错误,即服务帐户不存