🌊
Cloud BuildでFAILED_PRECONDITION: invalid bucketと言われる
エラー文
xxx@n41490-P aa % gcloud builds submit --tag gcr.io/xxx/my-app --project=xxx
Creating temporary archive of 3 file(s) totalling 3.1 KiB before compression.
Uploading tarball of [.] to [gs://xxx/source/xxx.tgz]
ERROR: (gcloud.builds.submit) FAILED_PRECONDITION: invalid bucket "xxx.cloudbuild-logs.googleusercontent.com"; service account xxx-compute@developer.gserviceaccount.com does not have access to the bucket
xxx@n41490-P aa %
対処
- 以下にある通り、Compute Engine APIを有効にしたら治った
Discussion