title: aws sam package - unable to upload artifact, access denied when doing 'package' locally but the S3 bucket exists and I have access
body: <p>I try to package but I get:</p>
  
  <pre><code>$ sam package --s3-bucket sam-project-deployment--29 --output-template-file output.yaml --region us-east-2
  Error: Unable to upload artifact HelloWorldFunction  
  referenced by CodeUri parameter of HelloWorldFunction resource.
  An error occurred (AccessDenied) when calling the PutObject operation: Access Denied   
  </code></pre>