1,628 questions
0
votes
0
answers
26
views
Unable to transform request AWS Gateway VTL
I have the following pulumi go code which uses AWS Integration to start a StepFunction.
func DealRequestTemplate(stateMachineArn pulumi.StringInput) pulumi.StringInput {
return pulumi.Sprintf(`#...
0
votes
1
answer
44
views
Variable flow in parallel execution of AWS step function
I have a step function definition as below:
{
"StartAt": "Assign Variables",
"QueryLanguage": "JSONata",
"States": {
"Assign ...
0
votes
1
answer
49
views
Wait for User Input in AWS Step Function
Looking into AWS Step Functions. I'd like to have a flow that stops at some point and waits for the user to open up some web form and enter some additional data before continuing the step function ...
1
vote
1
answer
50
views
StepFunction assume role unable to execute the StepFunction
I have a StepFunction that has a map state, that just has a lambda in it that executes through the entries of a JSON in a S3.
However, when the execution gets to this state I get the following error
...
0
votes
1
answer
59
views
Set MessageGroupId and MessageDeduplicationId in SQS in a JSONata step function
I am trying to use JSONata for my new step function and I am having issues setting the MessageGroupId and MessageDeduplicationId, for some reason they are not taken into account so it deduplicates the ...
1
vote
1
answer
163
views
AWS Step Functions AccessDeniedException
I am facing a persistent AccessDeniedException when trying to execute nested AWS Step Functions in my test environment. The same setup works perfectly in my Integration environment.
child-state-...
1
vote
1
answer
280
views
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 ...
1
vote
2
answers
118
views
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 ...
0
votes
0
answers
143
views
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 ...
0
votes
1
answer
105
views
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 ...
0
votes
1
answer
188
views
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 ...
0
votes
0
answers
162
views
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 ...
1
vote
0
answers
55
views
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 ...
0
votes
0
answers
91
views
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 ...
0
votes
1
answer
80
views
AWS step function/cdk: cannot add output to catcher
With this smallest example I could come up with:
from aws_cdk import aws_stepfunctions_tasks as tasks
from aws_cdk import aws_stepfunctions as sfn
states = tasks.GlueStartJobRun.jsonata( # actual ...
0
votes
1
answer
85
views
Configure output of a wait state in AWS step functions
I have the standard (simplified) pattern, in a step machine:
start a glue job
get job satus
if status is running:
wait
go back to get job status
My issue is with the connection between the wait ...
0
votes
1
answer
130
views
AWS step functions and replication across regions
I want to have AWS step functions created in two different regions.
Let's say us-east-1 and eu-central-1.
When I invoke the step functions they run in their own region and will have their execution ...
0
votes
0
answers
68
views
How do I get logs for a particular lambda execution using AWS CLI?
Using aws stepfunctions get-execution-history, I can see all the events in a particular execution. It lists, among other things, lambda function executions. How do I get the logs associated with a ...
0
votes
1
answer
63
views
Remove fields from previous step
I am trying to remove a field from the previous step used only in the choice task.
I have this StepFunction
{
"StartAt": "ConversionStep",
"States": {
"...
0
votes
1
answer
149
views
Having trouble passing environmental variables into a batch job triggered by a step function
Basically I'm building a integration that runs a ECR image on ECS via a AWS batch job definition. This piece of the code works atm, and we're now moving to running the job definitions via a AWS step ...
0
votes
1
answer
82
views
Can AWS Step Functions host code they execute?
Can I create an AWS Step Function that will not only define the steps it takes, but also defines the code it executes in each step? Or do I need to have a separate resource that is called by the step ...
0
votes
1
answer
102
views
AWS Step Function: Terminating nested workflows
I have a AWS step function defined in the C# CDK where one of the states is a task as defined as such:
var executeGlueJobStepFunction = new CustomState(this, "ExecuteGlueJobStepFunction", ...
2
votes
1
answer
807
views
Step Functions JSONata MapIterator Bug
When I have this input
{
"input": {
"bucket_name": "ml-platform-qa-us-east-1",
"object_keys": [
{
"Key": "aws/lambda/...
1
vote
0
answers
182
views
Set Execution Name to Step Function Triggered by EventBridge Rule and Target
I am triggering a step function with and event bridge rule and target. I would like to set a custom event name for the state machine. I am able to do this if I use a Scheduled run but not a Rule with ...
1
vote
1
answer
1k
views
Evaluating an embedded JSONata string in Amazon State Language
How can I ensure that a nested JSONata expression resolves in AWS Step Functions?
I have the following input to a state:
{ "value1": "something", "value2": "{% $...