https://pulumi.com logo
#google-cloud
Title
# google-cloud
l

limited-honey-31480

12/18/2019, 7:21 PM
nyone can help me... just start change from terraform to pulumi and when i did the start tutorial for gcp i got the error... I already tryed check the gcloud auths...install the gcloud inside the env and check bill permissions, but noting looks solve it
w

white-balloon-205

12/18/2019, 8:06 PM
Intersting - I have not seen that one before. Definitely something related to what credentials are being picked up. You can try adding this to your code - which should print out the project and associated billing account so you can confirm if they are what you expect?
Copy code
const proj = gcp.organizations.getProject(undefined, { async: true });
const billingAccount = proj.then(p => 
    gcp.organizations.getBillingAccount({billingAccount: p.billingAccount}, { async: true })
);
proj.then(console.log)
billingAccount.then(console.log)
l

limited-honey-31480

12/18/2019, 8:17 PM
im trying the python version of the tutorial code. this code are in JS? there are any way to use that on the include,bins or libs of the code?
I dont know why...just that storage bucket return that problem. i just make it work for Computer Engine and K8s. thats for the help, since i dont use that bucket its not priority
w

white-balloon-205

12/18/2019, 9:16 PM
Oh - that is even more surprising - but does sound like some sort of issue related to the configuration of the project/billingaccount you are working with in GCP. Great to hear you are unblocked for now!