我正在尝试通过 AWS CodeDeploy 进行部署。但是,它总是在安装前失败并出现以下错误。
没有这样的文件或目录 - /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
我真的不知道出了什么问题。任何帮助将不胜感激。