def get_replica_number()

in functions/source/UpdateDnsRecord/handler.py [0:0]


def get_replica_number(instance):
  tags = instance['Tags']
  return next(str(t['Value']) for t in tags if t['Key'] == REPLICA_TAG_NAME)