【发布时间】:2021-10-12 07:50:44
【问题描述】:
我正在尝试在本地测试阶跃函数。我已经定义了我的 stateMachine.json 并使用 aws configure 添加了我的凭据(aws_access_key_id 和 aws_secret_access_key)。
我正在按照以下步骤运行状态机:https://docs.aws.amazon.com/step-functions/latest/dg/sfn-local-lambda.html。但是当我开始执行时,我得到了这个错误:
2021-08-08 05:37:56.464: arn:aws:states:us-east-1:123456789012:execution:StateMachine:firstTest : {"Type":"LambdaFunctionFailed","PreviousEventId":4,"LambdaFunctionFailedEventDetails":{"Error":"Lambda.AWSLambdaException","Cause":"The security token included in the request is invalid. (Service: AWSLambda; Status Code: 403; Error Code: UnrecognizedClientException; Request ID: 66622740-bcbc-4397-8c97-75454dca550d; Proxy: null)"}}
可能是哪个错误?
【问题讨论】:
标签: amazon-web-services aws-step-functions aws-sam