sparse-intern-71089
08/07/2020, 7:56 PMfast-dinner-32080
08/07/2020, 7:58 PMbroad-dog-22463
08/07/2020, 7:58 PMgcp.config.project
broad-dog-22463
08/07/2020, 8:00 PMbland-lamp-16797
08/07/2020, 8:01 PMTypeError: 'Config' object is not callableI've looked at the class code, that is not the path @broad-dog-22463 Do you mind to be more specific? I tried:
config.get('gcp.project')
and
config.get('gcp.config.project')
but I got None
on bothfast-dinner-32080
08/07/2020, 8:04 PM# load rancher config
rancher_config = pulumi.Config("rancher2")
which pulls the rancher2: scoped configs and I can get them by calling something like this.
rancher_config.require("api_url")
So I would expect it to work similar for other configs.bland-lamp-16797
08/07/2020, 8:06 PMpulumi.Config('gcp').get('project')
Thanks all!