From 8a2e6464e02659e78827ff870b80f3d19149fb77 Mon Sep 17 00:00:00 2001 From: Joel Balcaen Date: Fri, 19 Apr 2024 15:41:51 -0300 Subject: [PATCH] default to string --- lambdas/step_function_invoker/src/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lambdas/step_function_invoker/src/index.py b/lambdas/step_function_invoker/src/index.py index 59ef61c..6702b9d 100644 --- a/lambdas/step_function_invoker/src/index.py +++ b/lambdas/step_function_invoker/src/index.py @@ -22,7 +22,7 @@ def lambda_handler(event, context): try: state_machine_execution_result = step_functions_client.start_execution( stateMachineArn=STATE_MACHINE_ARN, - input=json.dumps(event), + input=json.dumps(event, default=str), ) logger.info(state_machine_execution_result)