Added IAM role support
Merge pull request #3550 from lwade/ec2role

Added IAM role support