https://pulumi.com logo
p

proud-alarm-92546

06/05/2019, 9:30 PM
trying to anything else tends to result in
error TS2740: Type 'Promise<GetSubnetIdsResult>' is missing the following properties from type 'Input<string>[]': length, pop, push, concat, and 26 more.
w

white-balloon-205

06/05/2019, 9:35 PM
This error can be resolved using the snippet I shared in the sibling thread. As the error tries to indicate (though with limited success :-)) - the problem is that a
GetSubnetIdsResult
is not a
string[]
. But it has an
ids
property which is.