justtrackio/gosoline

add metadata fetching to aws/ec2/Client

Opened this issue · 0 comments

There are some usecases where we need to know the current IP address and other status information of the EC2 instance we are currently running on. AWS provides a ec2metadata package for that reason. It would be nice, if we had a simple wrapper in our ec2.Client that could provide you the environment information of the current instance you are running on.