diff --git a/metaflow/plugins/aws/step_functions/step_functions.py b/metaflow/plugins/aws/step_functions/step_functions.py index ed325d7fb73..aa703a072a0 100644 --- a/metaflow/plugins/aws/step_functions/step_functions.py +++ b/metaflow/plugins/aws/step_functions/step_functions.py @@ -439,7 +439,7 @@ def _visit(node, workflow, exit_node=None): JSONItemReader() .resource("arn:aws:states:::s3:getObject") .parameter("Bucket.$", "$.Body.DestinationBucket") - .parameter("Key.$", "$.Body.ResultFiles.SUCCEEDED.[0].Key") + .parameter("Key.$", "$.Body.ResultFiles.SUCCEEDED[0].Key") ) .output_path("$.[0]") )