title: How to get arn of EC2 instance in AWS
body: <p>How do I get the arn of ec2 instance in AWS.
  I am trying to use resource tag api to add the tags to an EC2 instance.
  Resource tag api requires arn for all the resources.</p>
  
  <p>How do I fetch that ?</p>