plain-parrot-2198403/24/2023, 12:21 PM
. Looking at the example on https://www.pulumi.com/registry/packages/aws-native/api-docs/stepfunctions/statemachine/ the DefinitionString should be a string as the name implies. I chose to define the state in a separate variable first, because hard coding the Arn like in the example isn't really feasible. How can I supply the correct Arn to the definition instead of the memory address?
I get the correct Arn of the pingFunction ...
pingStateMachineDefinition := fmt.Sprintf
it works :ham-dance:
pingStateMachineDefinition := pulumi.Sprintf
salmon-gold-7470903/27/2023, 11:22 AM
plain-parrot-2198403/27/2023, 11:29 AM