-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
StepFunctions: Base Support for Task Credentials #11987
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Awesome changes (+ a pretty gnarly diff; apologies for the delay here!
...k/services/stepfunctions/asl/component/state/state_execution/state_task/state_task_lambda.py
Show resolved
Hide resolved
localstack-core/localstack/services/stepfunctions/asl/utils/boto_client.py
Outdated
Show resolved
Hide resolved
localstack-core/localstack/services/stepfunctions/asl/utils/boto_client.py
Show resolved
Hide resolved
_THIS_FOLDER: Final[str] = os.path.dirname(os.path.realpath(__file__)) | ||
|
||
|
||
class CredentialsTemplates(TemplateLoader): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wanna just clarify that we will only ever need the Credentials
field when doing cross-account integrations? (see docs)
Motivation
Currently the SFN v2 interpreter does not support cross account task invocations due to the lack of support of Credentials blocks (#11927, #11311). These changes add base support and testing setup for this feature.
Furthermore, this resolves an issue where optimised service integration with support for
.sync
operations but not.waitForTaskToken
would bypass the setup of the callback endpoint but later attempt to listen for it, leading toStates.Runtime
exceptions when initiating the sync callback routine.Changes
TODO
What's left to do: