https://pulumi.com logo
#general
Title
# general
s

square-coat-62279

11/13/2021, 2:16 PM
hi all, I am using GCP cloud storage as my Pulumi backend, in my pulumi code, I attempt to create a new project and all the resources will be created in this project. On running pulumi up, the GCP project was created but when I attempt to attach billing to the project, it failed with:
Copy code
error: 7 PERMISSION_DENIED: The caller does not have permission
I have already run gcloud auth login and I am on the caller project, do I miss anything?
p

prehistoric-activity-61023

11/13/2021, 7:27 PM
you simply might not have enough permissions to attach the billing
Are you sure you have sufficient permissions? IMO the simplest way to check this is to try manually assign the billing account using Google Web Console.
Normally, I’d suggest checking if you configured ADC (application default credentials) but since you successfully created the project, that’s probably not it. Just in case, you might run:
Copy code
gcloud auth application-default login
s

square-coat-62279

11/14/2021, 6:22 AM
Copy code
You are not an administrator of any billing accounts. To enable billing on this project, create a new billing account or contact your billing account administrator to enable billing for you
I am getting this from the console, looks like permission issue?
p

prehistoric-activity-61023

11/14/2021, 1:28 PM
yep
in other words, this is not a pulumi issue and rather the permission/cloud config error
🆗 1
3 Views