【问题标题】:An AWS Serverless Application that uses the ASP.NET Core framework running in Amazon Lambda使用在 Amazon Lambda 中运行的 ASP.NET Core 框架的 AWS 无服务器应用程序
【发布时间】:2021-10-05 20:06:46
【问题描述】:

我对 AWS 很陌生。 同时将我的代码发布到 Aws Serverless Lambda API。处理 100% 后,它给出的错误为

Found existing stack: True
The stack's current state of UPDATE_ROLLBACK_FAILED is invalid for updating
Failed to publish AWS Serverless application

在服务器上检查时显示在服务器上

Description : An AWS Serverless Application that uses the ASP.NET Core framework running in Amazon Lambda.
Status Reason: The following resource(s) failed to update: [AspNetCoreFunctionRole].
Status : UPDATE_ROLLBACK_FAILED

不知道要检查什么,在哪里检查。我认为是点网版本的一些错误,这些是我系统中安装的点网相关应用程序。

【问题讨论】:

  • 您正在尝试将 IAM 角色 (AspNetCoreFunctionRole) 配置为 CloudFormation 堆栈的一部分。

标签: c# .net-core aws-lambda aws-serverless


【解决方案1】:

错误是“在 Amazon Lambda 中运行的 ASP.NET Core 框架”

  1. 我们必须在发布前删除此政策。
  2. 我们通过添加两个策略 AWSLambdaBasicExecutionRole 和 AWSLambda_FullAccess 为我们的存储桶创建了一个角色。

它现在工作正常。

【讨论】:

    猜你喜欢
    • 2019-10-12
    • 2021-08-04
    • 1970-01-01
    • 2017-10-10
    • 2020-10-09
    • 1970-01-01
    • 2020-06-20
    • 2022-11-02
    • 2017-11-16
    相关资源
    最近更新 更多