sparse-intern-71089
09/09/2022, 3:23 AMlittle-cartoon-10569
09/09/2022, 5:30 AMapply()
. subnetId: vpc.publicSubnetIds[0]
works fine.freezing-artist-36980
09/09/2022, 6:01 AM1. 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>[]>'.
little-cartoon-10569
09/09/2022, 7:15 AMlittle-cartoon-10569
09/09/2022, 7:15 AMlittle-cartoon-10569
09/09/2022, 7:16 AMsubnetId: pulumi.output(vpc.publicSubnetIds)[0]
freezing-artist-36980
09/09/2022, 4:59 PM