https://pulumi.com logo
Title
s

strong-belgium-33104

02/10/2023, 2:38 AM
Hi there, I have a question please. I am trying to automate projects creations using pulumi. I keep getting
403 access denied
. However, I am the owner of the gcp account and authenticated
gcloud auth application-default login
. Is there anything specific I need to do to be able to allow pulumi to provision the projects?
o

orange-policeman-59119

02/10/2023, 5:59 AM
I think
gcloud auth login --update-adc
is what I've used in the past. If that doesn't work, do you have any environment variables or Pulumi config that would override auth?
s

strong-belgium-33104

02/10/2023, 4:29 PM
I still get the same error. I don’t see any env variables that could impact that and my config is very simple
name: development
runtime: nodejs
description: Development project infrastructure
main: main.ts
Also here is the exact error I get
* error creating project experimental (experimental-82d11ee0-7): googleapi: Error 409: Requested entity already exists, alreadyExists. If you received a 403 error, make sure you have the `roles/resourcemanager.projectCreator` permission
but the projects doesn’t actually exists though
Sorry my bad 😞 I was seeting the project id to name and it wasn’t correct setup
thanks
o

orange-policeman-59119

02/10/2023, 5:29 PM
No worries!
I'm glad you got it sorted out.