This message was deleted.
# golang
s
This message was deleted.
p
I might add, that when I
ctx.Export("pingFunctionArn", pingFunction.Arn)
I get the correct Arn of the pingFunction ...
Just figured it out (by trial & error 😅). By replacing
Copy code
pingStateMachineDefinition := fmt.Sprintf
with
Copy code
pingStateMachineDefinition := pulumi.Sprintf
it works ham dance
s
Read up on Pulumi Outputs, this is all about the output being effectively a promise (in JS terms)
p
However, this was more about using the correct type. I added the bit with the export only to show that I can retrieve the correct value.