anchor.diff:      _ -> error
     end.
   
  -
   maybe_add_tag_filters([], QArgs) -> QArgs;
   maybe_add_tag_filters([{Key, Value}|T], QArgs) ->
     maybe_add_tag_filters(T, lists:append([{"Filter.1.Name", "tag:" ++ Key},
  
positive.code:   Instances = proplists:get_value("AutoScalingInstances", Result),
    [Instance || {_, Instance} <- Instances].
  
  
  get_autoscaling_group_node_list(error, _) -> {error, instance_discovery};
  get_autoscaling_group_node_list(Instance, Tag) ->
    case api_get_request("autoscaling", ?AUTOSCALING_DESCRIBE_INSTANCES) of
      {ok, Payload} ->
        Instances = flatten_autoscaling_datastructure(Payload),
        case find_autoscaling_group(Instances, Instance) of
          {ok, Group} ->
            Values = get_autoscaling_instances(Instances, Group, []),
            Names = get_priv_dns_by_instance_ids(Values, Tag),
            {ok, [autocluster_util:node_name(N) || N <- Names]};
          error -> error
        end;
  
negative.code: 
  -define(INSTANCE_ID_URL,
          "http://169.254.169.254/latest/meta-data/instance-id").
  
  -spec nodelist() -> {ok, Nodes :: list()}|{error, Reason :: string()}.
  %% @doc Return the nodelist from the AWS API
  