How do I get subnet ids of a vpc? `const vpcConne...
# typescript
f
How do I get subnet ids of a vpc?
const vpcConnector = new awsc.apprunner.VpcConnector("vpc-connector", {
securityGroups: [ec2SecurityGroup.id],
subnets: [pulumi.output(vpc.getSubnetsIds)], // ERROR HERE
});
It shows
1. Type 'Output<(type: VpcSubnetType) => Promise<Output<string>[]>>[]' is not assignable to type 'Input<Input<string>[]>'.
l
Did you know that you can cross-post a link to a post? If you do that, you (and we) only have to keep an eye on one thread, instead of three.