This repository was archived by the owner on Mar 23, 2026. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
This repository was archived by the owner on Mar 23, 2026. It is now read-only.
bug: Step Functions describe-activity incorrectly rejects ARN #11916
Copy link
Copy link
Closed
Labels
aws:stepfunctionsAWS Step FunctionsAWS Step Functionsstatus: response requiredWaiting for a response from the reporterWaiting for a response from the reportertype: bugBug reportBug report
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
When running describe-activity on an activity ARN that contains punctuation symbols in the name, an Invalid arn error is reported.
$ awslocal stepfunctions create-activity --name RetryParallelStateIntegrationTest.2024-11-23-06-19-53.60e0ecac-0dbb-4e5e-bddb-c
{
"activityArn": "arn:aws:states:ca-west-1:000000000000:activity:RetryParallelStateIntegrationTest.2024-11-23-06-19-53.60e0ecac-0dbb-4e5e-bddb-c",
"creationDate": 1732374466.340198
}
$ awslocal stepfunctions describe-activity --activity-arn arn:aws:states:ca-west-1:000000000000:activity:RetryParallelStateIntegrationTest.2024-11-23-06-19-53.60e0ecac-0dbb-4e5e-bddb-c
An error occurred (InvalidArn) when calling the DescribeActivity operation: Invalid arn: 'arn:aws:states:ca-west-1:000000000000:activity:RetryParallelStateIntegrationTest.2024-11-23-06-19-53.60e0ecac-0dbb-4e5e-bddb-c'
Expected Behavior
The correct response (from AWS) is as follows:
$ aws stepfunctions create-activity --name RetryParallelStateIntegrationTest.2024-11-23-06-19-53.60e0ecac-0dbb-4e5e-bddb-c
{
"activityArn": "arn:aws:states:ca-west-1:491085397214:activity:RetryParallelStateIntegrationTest.2024-11-23-06-19-53.60e0ecac-0dbb-4e5e-bddb-c",
"creationDate": 1732373726.378
}
$ aws stepfunctions describe-activity --activity-arn arn:aws:states:ca-west-1:491085397214:activity:RetryParallelStateIntegrationTest.2024-11-23-06-19-53.60e0ecac-0dbb-4e5e-bddb-c
{
"activityArn": "arn:aws:states:ca-west-1:491085397214:activity:RetryParallelStateIntegrationTest.2024-11-23-06-19-53.60e0ecac-0dbb-4e5e-bddb-c",
"name": "RetryParallelStateIntegrationTest.2024-11-23-06-19-53.60e0ecac-0dbb-4e5e-bddb-c",
"creationDate": 1732373726.378,
"encryptionConfiguration": {
"type": "AWS_OWNED_KEY"
}
}
How are you starting LocalStack?
With the localstack script
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)
see above
Environment
- OS: MacOS Sequoia
- LocalStack:
LocalStack version: 4.0.2.dev3
LocalStack build date: 2024-11-23
LocalStack build git hash: 39ac0b968Anything else?
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
aws:stepfunctionsAWS Step FunctionsAWS Step Functionsstatus: response requiredWaiting for a response from the reporterWaiting for a response from the reportertype: bugBug reportBug report