saltstack/salt-contrib — pull request #71 by jstrunk (2014-03-21 22:55:33+00:00)
Title: enable IAM role use

This should work with IAM instance profiles.

Also, lines 73 and 74 were accessing objects from the aws dict without it having been created.