Hi Archana, I don't see any particular reason listNodes would behave differently when using IAM role vs Access Key and Secret Key - Once the Ec2Api is configured to use org.jclouds.aws.domain.SessionCredentials everything should just work.
Is listNodes the only failing one? Can you share the stacktrace of a failing call? Could you double check listAssignableLocations() or listImages() with the same IAM role? if they work, can it be related to weird IAM permissions? HTH, Andrea On Wed, Jun 20, 2018 at 8:01 AM archiep...@gmail.com <archiep...@gmail.com> wrote: > Hi All, > I am trying to SSH from one EC2 instance into another using netflix's > simian army. I am using IAM role instead of Access key and Secret key. > Wondering if there is an issue with calling listNodes() when using IAM > role. Any insight on this, or any workaround on the issue is helpful. > > Cheers > Archana >