thankful-byte-3518
10/02/2024, 7:29 AMOutput
is not dealt properly in before serialization. The resulting string has this writing instead of value:
Calling [toString] on an [Output<T>] is not supported.\n\nTo get the value of an Output<T> as an Output<string> consider either:\n1: o.apply(v => `prefix${v}suffix`)\n2: pulumi.interpolate `prefix${v}suffix`\n\nSee <https://www.pulumi.com/docs/concepts/inputs-outputs> for more details.\nThis function may throw in a future version of @pulumi/pulumi
Why is there not at least and error logged out that something like this happened? I can imagine string like this shipped into the resulting infrastructure without any notice (if you not examining the outputs thoroughly).future-hairdresser-70637
10/02/2024, 10:24 AMPULUMI_ERROR_OUTPUT_STRING
env var thanks to https://github.com/pulumi/pulumi/pull/14811future-hairdresser-70637
10/02/2024, 10:26 AMthankful-byte-3518
10/02/2024, 11:30 AM