Open
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
Performing awslocal stepfunctions list-executions
ends up in failure from the localstack
if not StepFunctionsProvider._STATE_MACHINE_ARN_REGEX.match(state_machine_arn):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: expected string or bytes-like object, got 'NoneType'
Expected Behavior
It should return a list of all StateMachine executions when State Machine ARN is not provided.
The actual problem comes from _validate_state_machine_arn which should just simply pass if the ARN is not provided.
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
)
localstack start
Client commands (e.g., AWS SDK code snippet, or sequence of "awslocal" commands)
awslocal stepfunctions list-executions
Environment
- OS: Ubuntu 25.04
- LocalStack:
LocalStack version: 4.4.0
LocalStack Docker image sha:
LocalStack build date:
LocalStack build git hash:
Anything else?
No response