bitter-zebra-93800
06/10/2020, 4:09 PMsubnetId: vpc.publicSubnetIds[0], // use the subnet(s) from awsx.ec2.Vpc
It works fine in 3 of my stacks with identical vpcs but on a new on it gives this error
Element implicitly has an 'any' type because expression of type '0' can't be used to index type 'Promise<Output<string>[]>'.
Property '0' does not exist on type 'Promise<Output<string>[]>'.
I am baffled by it, if I copy index.ts to a new name it does not show the error. Any help greatly appreciated.gentle-diamond-70147
06/10/2020, 4:20 PMsubnetId: pulumi.output(vpc.publicSubnetIds.then(ids => ids[0])),
bitter-zebra-93800
06/10/2020, 4:22 PMgentle-diamond-70147
06/10/2020, 4:24 PMpackage-lock.json
to keep the stacks all on the same versions.bitter-zebra-93800
06/10/2020, 4:59 PM