https://pulumi.com logo
Title
f

flaky-evening-60547

12/10/2021, 6:54 PM
I’m trying to create a gcp project using Pulumi, but I’m getting this error:
Type                          Name           Plan       Info
 +   pulumi:pulumi:Stack           lazy-test-dev  create
     └─ gcp:organizations:Project  asdfasdfasdf              1 error

Diagnostics:
  gcp:organizations:Project (asdfasdfasdf):
    error: could not validate provider configuration: 2 errors occurred:
        * Invalid or unknown key
        * Invalid or unknown key
How do I debug this? I was able to create a gcp project in a different pulumi project.
b

billowy-army-68599

12/10/2021, 7:08 PM
can you share your stack configuration?
f

flaky-evening-60547

12/10/2021, 7:09 PM
Do you mean the yaml file?:
config:
  gcp:billingAccount: XXXXXXXX
  gcp:organizationId: "XXXXXXX"
  gcp:project: XXXXXXX
  lazy-test:npmAuthToken:
    secure: XXXXXXXX
b

billowy-army-68599

12/10/2021, 7:26 PM
hrm, I'd try comment out those config options 1 by 1 to see if that helps, but it may also be related to the name of the project https://github.com/pulumi/pulumi/issues/3546