elegant-smartphone-60282
08/25/2022, 12:07 PMpublic_subnets = dis_stack.get_output("public_subnets")
subnets_list = public_subnets.apply(lambda id: id)
but it returns an output object, how can i do that i get a list ?stocky-restaurant-98004
08/25/2022, 2:08 PMid
. If public_subnets
is not an output, then you'll want to do something like (and pardon my Python) plain_old_list_of_strings = public_subnets.map(lambda id: id.apply(lambda x: x))
little-cartoon-10569
08/25/2022, 9:08 PM