fluent-plugin-s3 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 26e0fd779938910c499dfdd043c253b90167c05c585945fddcaa37985302cbff
4
- data.tar.gz: fe09d0a34580eeea82b3538f7e7fe8fcbc85e42dcb1d7dd5cedfbfeeefdfbe56
3
+ metadata.gz: 7857c3b94c15cb4823304fee564472f765550dd22e31d45573275c4db78124f1
4
+ data.tar.gz: 77ebe69806ddc016fb49a01affe134f16c8eb62201b15cce69d20aeaacd17d59
5
5
  SHA512:
6
- metadata.gz: aec5991826999db113542e9e313b03a2ca018d3b7143ca745f45a211f0ce3e3c66c1b5b84c087b3e5d654aeb8b840db1580e5b6911bd182b7fb1a4131ee317ce
7
- data.tar.gz: 575fcd019697834d1ff5aef35a456fa7b5a54ec8c3f565285b50195ca1f5d67a24738d39973e9f7d7e9e15bac398ac96d494ffc1907e5cd6271385242cf36521
6
+ metadata.gz: a0d66bbd627a801c39fe4da90135dc4c4b457c522de73c9d14e03786a3dd0b5b8cb2c51d2eb11c8fd615897626fdf9c6d689cbae4be2842d75b5b2846426ab4b
7
+ data.tar.gz: 8500765a686f41f5ed76c9738fd8466dd64cdda9ca840b5fef0b618d7a9bf0da6d8ba8a46fc239893964ddf9bddd7dcfa54cc71587a69fb4b5417f2592d2cc1c
data/ChangeLog CHANGED
@@ -1,3 +1,7 @@
1
+ Release 1.2.1 - 2019/11/10
2
+
3
+ * in_s3: Support ECSCredentials
4
+
1
5
  Release 1.2.0 - 2019/10/17
2
6
 
3
7
  * out_s3: Add bucket_lifecycle_rule section to set bucket's lifecycle
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.0
1
+ 1.2.1
@@ -209,7 +209,11 @@ module Fluent::Plugin
209
209
  credentials_options[:port] = c.port if c.port
210
210
  credentials_options[:http_open_timeout] = c.http_open_timeout if c.http_open_timeout
211
211
  credentials_options[:http_read_timeout] = c.http_read_timeout if c.http_read_timeout
212
- options[:credentials] = Aws::InstanceProfileCredentials.new(credentials_options)
212
+ if ENV["AWS_CONTAINER_CREDENTIALS_RELATIVE_URI"]
213
+ options[:credentials] = Aws::ECSCredentials.new(credentials_options)
214
+ else
215
+ options[:credentials] = Aws::InstanceProfileCredentials.new(credentials_options)
216
+ end
213
217
  when @shared_credentials
214
218
  c = @shared_credentials
215
219
  credentials_options[:path] = c.path if c.path
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-s3
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sadayuki Furuhashi
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-10-18 00:00:00.000000000 Z
12
+ date: 2019-11-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: fluentd