Skip to content

Commit

Permalink
stringify Map item in step function
Browse files Browse the repository at this point in the history
  • Loading branch information
jtherrmann committed Feb 3, 2025
1 parent 2de89db commit b4030f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/render_cf.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def get_batch_job_parameters(job_spec: dict, step: dict, map_item: str | None =
batch_params = {}
for param in step_params:
if param == map_item:
batch_params[f'{map_item}.$'] = '$$.Map.Item.Value'
batch_params[f'{map_item}.$'] = "States.Format('{}', $$.Map.Item.Value)"
else:
if param not in job_params:
raise ValueError(f"job parameter '{param}' has not been defined")
Expand Down

0 comments on commit b4030f4

Please sign in to comment.