I'd say (use instead of user).

    :use_ec2_instance_id => node['datadog']['use_ec2_instance_id']