Skip to content

Commit a38b42a

Browse files
committed
Use aws-sdk-s3 gem exclusively
1 parent d15376f commit a38b42a

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

lib/logstash/inputs/s3.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
require "tmpdir"
77
require "stud/interval"
88
require "stud/temporary"
9-
require "aws-sdk"
9+
require "aws-sdk-s3"
1010
require "logstash/plugin_mixins/ecs_compatibility_support"
1111

1212
require 'java'
@@ -162,7 +162,6 @@ def initialize(options = {})
162162
def register
163163
require "fileutils"
164164
require "digest/md5"
165-
require "aws-sdk-resources"
166165

167166
@logger.info("Registering", :bucket => @bucket, :region => @region)
168167

lib/logstash/inputs/s3/processor.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# encoding: utf-8
22
require "logstash/inputs/base"
33

4-
require "aws-sdk"
4+
require "aws-sdk-s3"
55

66
module LogStash module Inputs class S3 < LogStash::Inputs::Base
77
# The processor represent a workers thread

spec/inputs/s3/poller_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# encoding: utf-8
22
#
33
require "logstash/inputs/s3"
4-
require "aws-sdk"
4+
require "aws-sdk-s3"
55
require "ostruct"
66
require "rspec/wait"
77

0 commit comments

Comments
 (0)