2
votes

I am attempting to deploy via AWS CodeDeploy. However it always fails at before-insatll with the following error.

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

The ZIP files that I have loaded in S3 bucket is following the defined structure here.

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

I really can't figure out what is going wrong. Any help would be greatly appreciated.

1
For another possible solution, also see my answer stackoverflow.com/questions/38740298/…Rodrigo M

1 Answers

4
votes