freezing-artist-36980
09/10/2022, 3:20 PMconst vpcConnector = new awsc.apprunner.VpcConnector("vpc-connector", {
securityGroups: [ec2SecurityGroup.id],
subnets: [pulumi.output(vpc.getSubnetsIds)], // ERROR HERE!
vpcConnectorName: "my-vpc-connector",
});
But it throws error: 1. Type 'Output<(type: VpcSubnetType) => Promise<Output<string>[]>>[]' is not assignable to type 'Input<Input<string>[]>'.
fancy-spoon-7206
09/10/2022, 6:46 PMfreezing-artist-36980
09/10/2022, 11:42 PM.all
and .concat
but still not working.little-cartoon-10569
09/11/2022, 9:26 PMpulumi.Output
, instead of an array of string outputs, and that needs to be resolved. What's the type of vpc.getSubnetsIds
? Is it a member or method that you've created? Or a typo?