【问题标题】:AWS Lambda .NET Core Deployment Task FailsAWS Lambda .NET Core 部署任务失败
【发布时间】:2019-03-10 00:18:12
【问题描述】:

使用 Amazon Web Services 的任务“AWS Lambda .NET Core 部署”

成功创建用于部署的 zip 文件,但上传失败。我的第一个想法是缺少写权限,但上一步是使用相同的 AWS 凭据成功地将 html、css、js 部署到同一个存储桶。

有人在 Azure DevOps 中将 .net core 2.0 或 2.1 无服务器模板应用程序部署到 AWS Lambda 并解决了类似问题吗?

这是 system.debug=true 的错误:

Uploading to S3. (Bucket: [bucketname] Key: {filename}.zip)
Error uploading to [filename].zip in bucket {bucketname}: The write operation failed, see inner exception.
[debug]rc:4294967295
[debug]success:false
[debug]task result: Failed
[error]Error: C:\Program Files\dotnet\dotnet.exe failed with return code: 4294967295
[debug]Processed: ##vso[task.issue type=error;]Error: C:\Program Files\dotnet\dotnet.exe failed with return code: 4294967295
[debug]Processed: ##vso[task.complete result=Failed;]Error: C:\Program Files\dotnet\dotnet.exe failed with return code: 4294967295
[section]Finishing: Deploy .NET Core to Lambda:  {appname}

【问题讨论】:

    标签: c# amazon-web-services amazon-s3 azure-devops azure-pipelines


    【解决方案1】:

    我有同样的问题。不知何故,我的 AWS 信用停止了工作。 我更改了访问密钥和密钥,S3 开始工作。 我在 AzureDevOps 中创建了一个新连接,它有所帮助。

    【讨论】:

      猜你喜欢
      • 2019-06-27
      • 2014-03-22
      • 2013-03-10
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-07-10
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多