is there a way to do pulumi.interpolate instead of...
# typescript
c
is there a way to do pulumi.interpolate instead of .all and .apply in https://github.com/pulumi/examples/blob/master/aws-ts-stepfunctions/index.ts#L62-L83?
w
"Resource": helloFunction.lambda.arn,
You could do the object first….
Copy code
all([output({
  …,
  “Resource”: helloFunction.lambda.arn,
  …
})]).apply(([data] => JSON.stringify(data))