This message was deleted.
# typescript
s
This message was deleted.
w
Since
<http://vpc.id|vpc.id>
is an Output, you need to use apply, and call
getRouteTables
inside that.
Copy code
const rts = vpc.id.apply(id => aws.ec2.getRouteTables({ vpcId: id }));
👍 1
b
Thank you very much!