NoSuchKey:指定的密钥不存在 AWS S3 Codebuild

NoSuchKey: The specified key does not exist AWS S3 Codebuild

[Container] 2020/09/03 09:27:34 Waiting for agent ping
[Container] 2020/09/03 09:27:36 Waiting for DOWNLOAD_SOURCE
NoSuchKey: The specified key does not exist.

    status code: 404, request id: , host id: = for primary source

源提供者:Amazon S3 存储桶: S3 对象键:

我不得不在文件夹名称的末尾附加一个 /。否则它会给出无效的密钥错误。 结果是 S3 对象键或 S3 文件夹 [在我的例子中是 S3 文件夹] 变成了<folder-name>/

注意 /