Question related to using the python API, in parti...
# general
p
Question related to using the python API, in particular the "get_x" functions in aws.ec2. In my main I want to get the VPC ID of an existing VPC that a new VPC will peer with. So I tried the obvious: another_vpc = ec2.get_vpc(tags={"Name":"another"}) But then, if I try to reference another_vpc, eg another_vpc.id I get the error: AttributeError: 'coroutine' object has no attribute 'id' Now looking at the source, I can see that get_vpc is defined as an async def, but I can't await it because I get an invalid syntax error. So, how do I call the various get_x functions in pulumi_aws.ec2 etc?