title: AWS CLI not working with cron
body: <p>I have this script:</p>
  
  <pre><code>#!/bin/bash
  PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
  SHELL=/bin/bash
  
  # Create EBS Data snapshot
  /usr/local/bin/aws ec2 create-snapshot --volume-id "vol-XXXXX" --description "test"
  </code></pre>
  
  <p>It works perfectly if I run it from the shell, but does nothing with Cron. Why? I am using IAM roles, is it important?  </p>