juju/juju — pull request #873 by axw (2014-10-01 03:50:20+00:00)
Title: provider/ec2: verify credentials early in bootstrap

Verify credentials early in the bootstrap process by
issuing a query to EC2 and checking the status code
on the response. Provide a user-friendly error message,
and log the underlying error at debug level.

Partially fixes https://bugs.launchpad.net/juju-core/+bug/1362072

http://reviews.vapour.ws/r/137/