bitter-zebra-9380006/10/2020, 4:09 PM
It works fine in 3 of my stacks with identical vpcs but on a new on it gives this error
subnetId: vpc.publicSubnetIds, // use the subnet(s) from awsx.ec2.Vpc
I am baffled by it, if I copy index.ts to a new name it does not show the error. Any help greatly appreciated.
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>>'.
gentle-diamond-7014706/10/2020, 4:20 PM
subnetId: pulumi.output(vpc.publicSubnetIds.then(ids => ids)),
bitter-zebra-9380006/10/2020, 4:22 PM
gentle-diamond-7014706/10/2020, 4:24 PM
to keep the stacks all on the same versions.
bitter-zebra-9380006/10/2020, 4:59 PM