Open
Description
Problem
In AWS emr, we get the public dns name and frequently need to get the instance id to get the private dns. We do this by searching for the public dns directly in the aws console > ec2 page.
I could not find a way to get the instance id from a public dns record using bma
. The list of items that the bma instances
command searches
does not have the NetworkInterfaces[0].PrivateIpAddresses[0].Association.PublicDnsName
key so it does not find the records when using
instances ec2-snip.us-east-1.compute.amazonaws.com
Proposed solution
I propose a bma dns-instance
command that would do exactly this.
Or would it be better to add the NetworkInterfaces[0].PrivateIpAddresses[0].Association.PublicDnsName
key to the bma instances
command ?
Related
PR #299
Metadata
Metadata
Assignees
Labels
No labels