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

Support for variables in AWS Step Function Test State #4364

Closed
1 of 2 tasks
anthonyangel opened this issue Dec 3, 2024 · 4 comments
Closed
1 of 2 tasks

Support for variables in AWS Step Function Test State #4364

anthonyangel opened this issue Dec 3, 2024 · 4 comments
Assignees
Labels
feature-request This issue requests a feature. p2 This is a standard priority issue response-requested Waiting on additional information or feedback. stepfunctions

Comments

@anthonyangel
Copy link

anthonyangel commented Dec 3, 2024

Describe the feature

The TestState API for Step Functions can accept an input for variables: https://docs.aws.amazon.com/step-functions/latest/apireference/API_TestState.html

Use Case

Calling TestState with variables

Proposed Solution

Add variables as an allowed input

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

SDK version used

1.35.74

Environment details (OS name and version, etc.)

macOS 15.1.1

@anthonyangel anthonyangel added feature-request This issue requests a feature. needs-triage This issue or PR still needs to be triaged. labels Dec 3, 2024
@anthonyangel
Copy link
Author

Related to this is the ability to see variables in InspectionData as part of the result of a test too - that is also already in the API

@tim-finnigan tim-finnigan self-assigned this Dec 4, 2024
@tim-finnigan
Copy link
Contributor

tim-finnigan commented Dec 4, 2024

Thanks for reaching out — linking Boto3 documentation for reference: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/stepfunctions/client/test_state.html#. It looks like support for variables was added recently in version 1.35.68. Does using the variables parameter as documented meet your use case or were you requesting something beyond that? (We would need to forward requests for new API behavior to the Step Functions team, and once the API supports something then the Boto3 commands should support it as well.)

@tim-finnigan tim-finnigan added response-requested Waiting on additional information or feedback. p2 This is a standard priority issue stepfunctions and removed needs-triage This issue or PR still needs to be triaged. labels Dec 4, 2024
@anthonyangel
Copy link
Author

Hi Tim, that looks like exactly what I was after.

I'm trying to work out how I missed it: to find the docs I googled boto 3 test state and the top result was for the 1.35.6 docs, which predated this change.

@tim-finnigan
Copy link
Contributor

Hi Tim, that looks like exactly what I was after.

I'm trying to work out how I missed it: to find the docs I googled boto 3 test state and the top result was for the 1.35.6 docs, which predated this change.

Thanks for following up. Unfortunately we can't control how search engines will rank documentation versions, so links to the documentation for past releases may rank higher than the latest version. This issue has caused confusion before — maybe we could do something like add a banner to help with visibility. I just created a new feature request for that: #4368. I'll go ahead and close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request This issue requests a feature. p2 This is a standard priority issue response-requested Waiting on additional information or feedback. stepfunctions
Projects
None yet
Development

No branches or pull requests

2 participants