bug: Step Functions - States.StringToJson
error when used in ResultSelector
for S3 getObject
action
#10787
Labels
aws:stepfunctions
AWS Step Functions
status: backlog
Triaged but not yet being worked on
type: bug
Bug report
Is there an existing issue for this?
Current Behavior
Whenever I use the
StringToJson
intrinsic function (https://docs.aws.amazon.com/step-functions/latest/dg/amazon-states-language-intrinsic-functions.html#asl-intrsc-func-json-manipulate) in theResultSelector
of a task calling the S3getObject
action (see steps to reproduce for the definition), the step function fails to execute that function with the messages:Expected Behavior
This task step should return the
getObject
action responseBody
field string value converted into a JSON in the step resultlatest
field.How are you starting LocalStack?
Custom (please describe below)
Steps To Reproduce
How are you starting localstack (e.g.,
bin/localstack
command, arguments, ordocker-compose.yml
)Testcontainers (https://github.com/testcontainers/testcontainers-scala) with
3.4.0
imageClient commands (e.g., AWS SDK code snippet, or sequence of "awslocal" commands)
Simply create a step function with the following definition, upload a file
latest.json
to an S3 bucket (change bucket and file key accordingly), then execute it.Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: