AWS CodeDeploy - appspec.yml 未找到

AWS CodeDeploy - appspec.yml not found

我正在尝试通过 AWS CodeDeploy 进行部署。但是它总是在 before-insatll 失败并出现以下错误。

No such file or directory - /opt/codedeploy-agent/deployment-root/xxxxx/xxxxxx/deployment-archive/appspec.yml

我在 S3 存储桶中加载的 ZIP 文件遵循此处定义的结构。

  |--content (subfolder)
  |    |--myTextFile.txt
  |    |--mySourceFile.rb
  |    |--myExecutableFile.exe
  |    |--myInstallerFile.msi
  |    |--myPackage.rpm
  |    |--myImageFile.png
  |--scripts (subfolder)
  |    |--myShellScript.sh
  |    |--myBatchScript.bat 
  |    |--myPowerShellScript.ps1 
  |--appspec.yml

我真的想不通是哪里出了问题。任何帮助将不胜感激。