Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

versionDescription not returned for stepfunctions.describe_state_machine using version ARN #8453

Closed
ekolve opened this issue Dec 31, 2024 · 0 comments · Fixed by #8466
Closed

Comments

@ekolve
Copy link

ekolve commented Dec 31, 2024

When running the following sequence under moto-5.0.26.dev0:

import boto3
client = boto3.client("stepfunctions", region_name='us-west-2)
client.create_state_machine(
            name='somestatemachine',
            definition=json.dumps({}),
            roleArn=<role arn>,
            type="STANDARD",
            versionDescription="first version of statemachine",
            publish=True,
        )
version_arn = res["stateMachineVersionArn"]

followed by this call:

res = client.describe_state_machine(stateMachineArn=version_arn)
print(res["versionDescription"]) # KeyError

The versionDescription is not returned, but this should be returned when calling describe_state_machine with an ARN that includes a version.

@ekolve ekolve changed the title versionDescription not returned for statemachine.describe_state_machine using version ARN versionDescription not returned for stepfunctions.describe_state_machine using version ARN Dec 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant