tag:help.appveyor.com,2012-11-13:/discussions/problems/18061-appveyor-shows-error-for-aws-cli-but-not-really-an-errorAppVeyor: Discussion 2019-01-15T21:00:24Ztag:help.appveyor.com,2012-11-13:Comment/465046542018-11-15T18:25:01Z2018-11-15T18:25:52ZAppVeyor shows error for aws cli, but not really an error<div><p><a href="https://stackoverflow.com/questions/43280287/why-aws-version-writes-to-stderr/43284161">Apparently</a> aws cli outputs <code>--version</code> to <em>stderr</em> and not to <em>stdout</em>. In normal powershell environment this is not a problem but in a remote session it is. Perhaps newer versions of aws sdk will not have this problem (watch our <a href="https://www.appveyor.com/updates/">platform updates</a>, but until then you can try calling the script like this instead (i.e. calling powershell from cmd).</p>
<pre>
<code>deploy_script:
- Powershell ./AppVeyor-Deploy.ps1</code>
</pre></div>Owen McDonnell