Calling [toJSON] on an [Output<T>] is not supported. To get the value of an Output as a JSON value or JSON string consider either: 1: o.apply(v => v.toJSON()) 2: o.apply(v => JSON.stringify(v)) See
https://pulumi.io/help/outputs for more details. This function may throw in a future version of
@echoing-match-29901/pulumi.