- Le plus récent
- Le plus de votes
- La plupart des commentaires
You're getting ResourceNotFound
because Step Function is calling the Lambda endpoint in af-south-1
to invoke the Lambda function; but it isn't there (it's in `eu-west-1).
One way to solve this is to have a Lambda function in af-south-1
that is called by the Step Function and the only job of that Lambda function is to invoke the Lambda function in eu-west-1
. However, having a Lambda function synchronously call another Lambda function is considered an anti-pattern: https://docs.aws.amazon.com/lambda/latest/operatorguide/functions-calling-functions.html
Hi,
Yes, it is possible.
Have a detailled read of this blog post to have all the proper setup for such a use case: https://aws.amazon.com/blogs/compute/introducing-cross-account-access-capabilities-for-aws-step-functions/
Best,
Didier
Hi Didier, the blog is referring to cross-account calling of Step Functions. But I am looking into cross-region call from Step Function to Lambda itself.
Contenus pertinents
- demandé il y a 7 mois
- demandé il y a un an
- demandé il y a un an
- demandé il y a 2 mois
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a 3 ans
- AWS OFFICIELA mis à jour il y a 3 ans
Yes, you are right. Thank you