Open rdattilo opened 1 week ago
hi @rdattilo, thanks for your report.
I was able to reproduce the same error if I set the billing/quota_project
in the gcloud
configuration.
If I unset the billing quota project the error is not reproduced.
The SCC API bills the API in the project that is the parent of the Service Account used, but if a billing/quota_project
is set it will try to bill the quota project instead. In this case the service account will need the roles/serviceusage.serviceUsageConsumer
role.
I will add a note in the instructions to highlight that when using service account impersonation.
If you follow the README-GitHub.md, under
Deploying step 1-org
, step 10:produces this error:
I was able to run this successfully without impersonation, much like the instructions under the README.md under the
1-org
folder under step 3:Unsure what the correct course of action here is, however I thought you should be aware of the discrepancies between the two instructions.