in app/model/Estate.scala [121:126]
def groupInstancesByTag(instances: List[AwsEc2Instance]): Map[Map[String, String], List[AwsEc2Instance]] = {
instances.groupBy(i => {
i.getTags.asScala.toList.filter(t => t.getKey == "App" || t.getKey == "Stage" || t.getKey == "Stack")
.map(t => t.getKey -> t.getValue).toMap
})
}