gifted-fall-44000
01/24/2023, 3:25 PMbillowy-army-68599
01/24/2023, 3:32 PMOutput.json_dumps
in pythonminiature-musician-31262
01/24/2023, 7:28 PMOutput<T[]>
, then no, but you can always sort the unwrapped values and return another Output<T[]>
with the sorted result — for example in TypeScript:
import * as aws from "@pulumi/aws";
// unsortedKeys is an Output<string[]>.
export const unsortedKeys = aws.s3
.getObjectsOutput({ bucket: "some-bucket" })
.keys;
// sortedKeys is also an Output<string[]>, but reverse-sorted.
export const sortedKeys = unsortedKeys
.apply(keys => keys.reverse());
gifted-fall-44000
01/24/2023, 11:13 PMminiature-musician-31262
01/25/2023, 12:20 AMwhen interpreted the values come back in various orders which causes occasional updates and unexpected values being given to calls we did not expectAh, I see. If these values that vary are being returned by provider resources, then I think that’d be considered a bug. Are these AWS resources, for example?
gifted-fall-44000
01/25/2023, 1:15 AM