mirror of
https://github.com/floci-io/floci.git
synced 2026-11-24 06:20:24 -05:00
* feat(stepfunctions): resolve payload-template .$ inside arrays and $$ context in intrinsic args
Two AWS States Language parity fixes in the payload-template / intrinsic path:
- resolveParameters now recurses into arrays, not just objects. A Parameters / ItemSelector /
ResultSelector template resolves .$ references at any nesting depth, including inside arrays
(e.g. an ECS Overrides.ContainerOverrides[].Environment[].Value.$). Previously array elements
passed through verbatim, so those references were never substituted.
- Intrinsic-function arguments can now reference the Context Object ($$). resolvePath /
evaluateIntrinsic / resolveIntrinsicArg thread the Context Object through, so an argument like
States.Format('{}', $$.Map.Item.Value.x) or a bare $$.Execution.Id resolves against the
context. Ordinary $. / input-only resolution is unchanged (context is null there).
Adds AslExecutorArrayParamsTest and AslExecutorIntrinsicContextTest.
* docs: regenerate action tables