1,639 questions
1vote
1answer
40views
How to create EventBridge rule that triggers Lambda/Step function on another account?
I have two AWS accounts named A and B. I want to create an EventBridge rule on A that will run Lambda/Step function on B, and on runtime I don't have access to B, only to A. The problem with lambda ...
0votes
0answers
10views
How to pass extra paramter to Map Function in Aws State Machine
In AWS Step Functions, I need to perform a batch operation, so I am using Map. I am passing a token as an input parameter to the Step Function so it's accessible for the first Lambda (DEID-FF). ...
1vote
2answers
51views
Aggregating stats in Json nata - i.e. in Step Functions Map
I have spent an embarrassing amount of time trying to achieve something that I believe should be quite trivial. The question is about JSONata because I want to use this in the context of an AWS Step ...
0votes
1answer
19views
How to flatten arrays in StepFunctions?
I need to merge two arrays into a single array without nesting them. I want to merge $.LifecyclePolicy.LifecyclePolicy.rules and $.updatedRules into one array. I tried: "MergeRules": { &...
0votes
0answers
35views
AWS Step Functions: States.Format Fails with "matching '}' not found for '{'"
I'm using States.Format in AWS Step Functions to generate a JSON lifecycle policy dynamically, but I keep getting this error: An error occurred while executing the state 'PutLifecyclePolicy' (entered ...
0votes
1answer
33views
Starting Glue job from Step Functions with JobRunQueuingEnabled set to true
I have a Step Functions that starts a Glue job run. This step functions is invoked via Event Bridge when new files are created at a specific S3 location. Sometimes 2 or more files are created in quick ...
0votes
1answer
40views
AWS Batch: Running ECSProperties Job with AWS Stepfunction
I have AWS Stepfunction that starts with a Lambda function to prepare the execution of an AWS Batch Job, of which the Job Definition specifies to use Fargate (ecsProperties Job). This stepfunction ...
0votes
0answers
11views
How to Map an Array in AWS Step Functions While Keeping Parent ID?
Description: I am using AWS Step Functions and need to process an input JSON that looks like this: { "id": "123456", "bubble": [ { "type": "...
0votes
1answer
52views
Step function not deployable through terraform
I am trying to deploy AWS Step Function using Terraform but the deployment is failing with the below error Failed to execute "terraform init" fork/exec /usr/local/bin/terraform: argument ...
1vote
1answer
40views
Why isn’t my EventBridge Pipe scaling with increased SQS FIFO messages
I’m facing an issue with a webhook system built using AWS SQS FIFO queues, EventBridge Pipes, Step Functions, and Lambda. Here’s the setup: • SQS FIFO Queue: • Receives webhook messages containing ...
0votes
0answers
27views
How to terminate the execution of an AWS Step Functions Map on any error and return the error as the map execution result?
I am using AWS Step Functions with a Map state and I am facing an issue where, when an error occurs in the iterations of the map, the execution continues further, and the result of the map execution ...
0votes
0answers
18views
Step function CFT error, Getting error "variable SubnetsParameter in Fn::Sub expression doesn't resolve to string
Below is my statemachine resource template. Failing with template failed variable SubnetsParameter in Fn::Sub expression doesn't resolve to string. Any help would be appreciated. DefinitionString: !...
1vote
0answers
31views
AWS state function: remember which steps succeeded in a map
I want to have a state machine, with a loop over an array. A loop is just a sequential map state (concurrency = 1). If one item of the array fails being processed, the map stops, and somehow I want to ...
0votes
0answers
45views
Issue with AWS Glue job arguments
Can we pass arguments to glue job with the conditions in aws step function. { "JobName": "test-job-name", "Arguments":{ "--FILE_PATH.$": "$.FILE_PATH",...
0votes
0answers
28views
How to set dynamic variables in AWS Step Functions
I want to assign a variable from one of the state in AWS Step functions. The value of this variable has to be dynamic. I tried various syntax (as suggested in AWS documentation) to achieve this. These ...