-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Closed
Labels
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
"ProcessBatch": {
"Type": "Map",
"MaxConcurrency": 1,
"Items": "{% $HistoricalData %}",
"ItemSelector": {
"historicalvalues": "{% $states.context.Map.Item.Value %}"
},
"ItemProcessor": {
"StartAt": "AllUsers",
"States": {
"AllUsers": {
"Type": "Map",
"MaxConcurrency": "{% $count($UserList) %}",
"Items": "{% $UserList %}",
"ItemSelector": {
"userid": "{% $states.context.Map.Item.Value %}",
[...]
ItemProcessor of above mentioned State is a Lambda function that reports for userid
:
9-21d0-4137-882c-f2fcad0c0a2a] [ERROR] ValueError: invalid literal for int() with base 10: '{% $states.context.Map.Item.Value %}'
I understand that "{% $states.context.Map.Item.Value %}"
has not been rendered, but instead passed on to the ItemProcessor as is.
LocalStack version: 4.2.1.dev2
LocalStack build date: 2025-02-27
LocalStack build git hash: 59da96d99
Expected Behavior
No response
How are you starting LocalStack?
With a docker-compose file
Steps To Reproduce
How are you starting localstack (e.g., bin/localstack
command, arguments, or docker-compose.yml
)
docker run localstack/localstack
Client commands (e.g., AWS SDK code snippet, or sequence of "awslocal" commands)
awslocal s3 mb s3://mybucket
Environment
- OS:
- LocalStack:
LocalStack version:
LocalStack Docker image sha:
LocalStack build date:
LocalStack build git hash:
Anything else?
No response