fluent-plugin-s3 0.5.6 → 0.5.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog +6 -0
- data/VERSION +1 -1
- data/lib/fluent/plugin/out_s3.rb +7 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 78244e9e4c25288b7aa0fab1bd9bb4d5486ab91a
|
4
|
+
data.tar.gz: 6c983db1d653285217036ff52c9602fac0d6c95f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8e6b1a38e4d36a504b7bd0fae862e7e9e43da0cc0be2b05c0fbef2ebd2c7e7643cc9f924f8bdcdd9542d365e0cc6cb756595999b3a2739500ec4899b0a687826
|
7
|
+
data.tar.gz: 05a4cb5a91f41a8ee069b61154dca4bbb7ae3fa848f22663a67680091badc8bf24b6834fb8b326f7453328acd57322f81e0b14fc2b24e3a4235b6bc4c0818c18
|
data/ChangeLog
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.5.
|
1
|
+
0.5.7
|
data/lib/fluent/plugin/out_s3.rb
CHANGED
@@ -74,9 +74,15 @@ module Fluent
|
|
74
74
|
if @aws_key_id && @aws_sec_key
|
75
75
|
options[:access_key_id] = @aws_key_id
|
76
76
|
options[:secret_access_key] = @aws_sec_key
|
77
|
+
else
|
78
|
+
# Avoid missing credentials error from the EC2 metadata service
|
79
|
+
# because of temporary loss of network connectivity when using IAM Role.
|
80
|
+
# This error is a rare case, so handles it in this plugin.
|
81
|
+
# retry retrieving credentials (wait for total approximately 2 min)
|
82
|
+
options[:credential_provider] = AWS::Core::CredentialProviders::EC2Provider.new({:retries => 7})
|
77
83
|
end
|
78
84
|
options[:region] = @s3_region if @s3_region
|
79
|
-
options[:
|
85
|
+
options[:s3_endpoint] = @s3_endpoint if @s3_endpoint
|
80
86
|
options[:proxy_uri] = @proxy_uri if @proxy_uri
|
81
87
|
options[:use_ssl] = @use_ssl
|
82
88
|
options[:s3_server_side_encryption] = @use_server_side_encryption
|
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: 0.5.
|
4
|
+
version: 0.5.7
|
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: 2015-03-
|
12
|
+
date: 2015-03-31 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: fluentd
|