在 us-east-1 区域启动给定的 cloudformation 模板时出错。 (构建 lambda 函数收到错误)

Getting Error while launching the given cloudformation template in us-east-1 region. ( Build lambda Function receives error)

错误:构建 Lambda 函数收到以下错误。

AccessDeniedExceptionnull(服务:AWSLambdaInternal;状态代码:403;错误代码:AccessDeniedException;请求 ID:7a8c9e0e-61db-403b-9448-0f5e61beddd4;代理:null)

我正在尝试 运行 使用以下 link 的 cloudformation 模板。当堆栈执行时,它回滚给出上述错误。

导致此问题的可能原因是什么?

使用此 git 存储库:https://github.com/aws-samples/serverless-machine-learning-on-aws

使用此 cloudformation 模板 link:https://console.aws.amazon.com/cloudformation/home?region=us-east-1#/stacks/new?stackName=serverless-ml&templateURL=https://aws-ml-blog.s3.amazonaws.com/artifacts/serverless-machine-learning-on-aws/template.json

使用此博客创建 cloudformation 模板:https://aws.amazon.com/blogs/machine-learning/deploying-machine-learning-models-as-serverless-apis/

答案与特定区域中未正确配置默认 vpc 有关。 如果您尝试使用任何其他地区或其他 aws 帐户,它肯定会起作用。