aerospike/aerospike-admin

collectinfo _get_awsdata output

Closed this issue · 0 comments

This relates to your internal ticket TOOL-924

In the collectinfo output do you want the value of every key on the metadata API or do you just specifically want the availability zone the instance is in?

Yesterday I rewrote the _get_metadata function that walks through the EC2 metadata API. It grabs every value from the API in a safer way than the current implementation (which gets hung up on the list of security group IDs infinitely). If you're interested in this code I would be happy to push it, but I want to clarify what the expectation of output is.