'StepFunctionsLocal does not accept $$ parameter

As documented here, the AWS state machine definition syntax allows access to attributes from the higher scope within a map state iteration with $$.Map.Item.Value:

{
  "StartAt": "ExampleMapState",
  "States": {
    "ExampleMapState": {
      "Type": "Map",
      "Parameters": {
               "ContextValue.$": "$$.Map.Item.Value"
             },
      "Iterator": {
         "StartAt": "TestPass",
         "States": {
           "TestPass": {
             "Type": "Pass",    
             "End": true
           }
         }
      },
      "End": true
    }
  }
} 

However, when run with the StepFunctionsLocal (both Java and Docker versions) this example definition itself raises SCHEMA_VALIDATION_FAILED error:

SCHEMA_VALIDATION_FAILED: The value for the field 'ContextValue.$' must be a valid JSONPath or a valid intrinsic function call at /States/ExampleMapState/Parameters

Am I missing something or is this a bug in the StepFunctionsLocal?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source