title: Code Deploy fails without any error message
body: <p>so I have been trying to setup code deploy for my application, but it keeps on failing. Initially, I didn't have an appspec.yml file in repository, so I got the error message that the appspec.yml file doesn't exist.</p>
  
  <p>I have now included an appspec.yml file, but it still doesn't work and it doesn't give any error message. There are no events mentioned, like it used to before adding the appspec file.</p>
  
  <p>I have less than a beginner's knowledge when it comes to creating a appspec.yml file, but I took hint from a youtube tutorial, and here is the file.</p>
  
  <pre><code>version: 0.0
  os: linux
  files:
   - source: /
     destination: /var/www/cms
  </code></pre>
  
  <p>If it helps, the ec2 instance is running an ubuntu server, /var/www/cms is that directory out of which the nginx is supposed to serve files.</p>