https://pulumi.com logo
Title
c

clever-painter-96148

11/29/2022, 11:24 AM
In TypeScript, I can do:
import {config} from '@pulumi/gcp';
const foo = `${config.project}/${config.zone}`;
How to I achieve the same in Python?
According to an example on https://www.pulumi.com/gcp/ I should be able to do this in Python:
from pulumi_gcp.config import project, zone
But pyright isn't happy with it:
BTW
pulumi_gcp.config.project
works as expected. It's just a typing issue. For now, I bypass it.
I'd be happy to provide a PR, but I don't know how to fix this. Any idea?