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

blue-leather-96987

07/06/2022, 3:55 PM
Has anyone had an issue with setting up configuration keys? I add a single config using
pulumi config set
and then I get mysterious errors liek this with random resources that have no changes:
Copy code
error: could not validate provider configuration: 1 error occurred:
        * Invalid or unknown key
b

billowy-army-68599

07/06/2022, 4:01 PM
the error isn't super clear unfortunately, you need to elimate the config keys one of one, there's probably a typo in there
b

blue-leather-96987

07/06/2022, 4:17 PM
So I know the exact key that has an issue, I remove it with pulumi config rm and everythign is fine, but whenever I add it back I get this
b

billowy-army-68599

07/06/2022, 4:21 PM
what's the key?
b

blue-leather-96987

07/06/2022, 4:22 PM
Copy code
config:
  gcp:domain: <http://test.example.com|test.example.com>
  gcp:project: dazzling-project
  pulumi:template: gcp-typescript
this is my entire config, the domain is giving me the issue
b

billowy-army-68599

07/06/2022, 4:33 PM
@blue-leather-96987 there's no domain option for a gcp provider..
what are you trying to do?
b

blue-leather-96987

07/06/2022, 4:35 PM
Oh I see the issue. I was hoping to use the config for a custom field
b

billowy-army-68599

07/06/2022, 4:35 PM
if that's the case, prefix with the name of your project, not
gcp:
b

blue-leather-96987

07/06/2022, 4:36 PM
got it, thank you
I didn't realize there was reserved config namespaces, my bad
23 Views