<@UB9EMC6TY> I can retrieve the `conf = pulumi.Con...
# python
@microscopic-pilot-97530 I can retrieve the
Copy code
conf = pulumi.Config(‘gke’)
stack_name = conf.require(‘name’)
No problem but
Copy code
gcp_project = conf.require(‘gcp:project’)
gcp_zone = conf.require(‘gcp:zone’)
Error with
Copy code
pulumi:pulumi:Stack (gke-k8s):
    error: Missing required configuration variable ‘gke:gcp:project’
        please set a value using the command pulumi config set gke:gcp:project <value>
    error: an unhandled error occurred: Program exited with non-zero exit code: 1
The config values are set in my Pulumi.k8s.yaml file. any advise?
I think you want to do something like:
Copy code
gcp_conf = pulumi.Config('gcp')
gcp_project = gcp_conf.require('project')
gcp_zone = gcp_conf.require('zone')
Ok I see the namespace for gcp is different from the overall project & stack?
boom that worked
🎉 1
thx Justin
😄 1
I think the docs should be a bit clearer on the config portion. I thought the namespace was tied to the projectstack then the rest of it appended but clearly this is not hte case
Agreed. We could definitely make this more clear in the docs.
❤️ 1