https://pulumi.com logo
#typescript
Title
# typescript
f

freezing-artist-36980

09/11/2022, 6:42 AM
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

little-cartoon-10569

09/11/2022, 9:28 PM
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.
6 Views