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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 80623d4dc7b2722b12012bf46c719ce9d4c98251
4
- data.tar.gz: 16e97bf4cfdae5718957922867c17f84b9a4a9dc
3
+ metadata.gz: 78244e9e4c25288b7aa0fab1bd9bb4d5486ab91a
4
+ data.tar.gz: 6c983db1d653285217036ff52c9602fac0d6c95f
5
5
  SHA512:
6
- metadata.gz: 9174367d1567125d7bcb50bfd9348beee44cbb3ebe74c4d472e30f2735e00670bb1ac0714155c5b3317c3ee0c80104b320907762f10cf25358b09ad0e9df5848
7
- data.tar.gz: b5d453b51e1267a4d1f1bda3b0bcdb4d4e1dd9e8ddcf5f83d883009e91692d3b78586128a8a34090b533db2db109a80367a84a8452bfd0de090e751a34d7606f
6
+ metadata.gz: 8e6b1a38e4d36a504b7bd0fae862e7e9e43da0cc0be2b05c0fbef2ebd2c7e7643cc9f924f8bdcdd9542d365e0cc6cb756595999b3a2739500ec4899b0a687826
7
+ data.tar.gz: 05a4cb5a91f41a8ee069b61154dca4bbb7ae3fa848f22663a67680091badc8bf24b6834fb8b326f7453328acd57322f81e0b14fc2b24e3a4235b6bc4c0818c18
data/ChangeLog CHANGED
@@ -1,3 +1,9 @@
1
+ Release 0.5.7 - 2015/03/31
2
+
3
+ * Use s3_endpoint instead of endpoint for S3 Client configuration for S3 compatible services
4
+ * Increase the number of retry when use IAM role
5
+
6
+
1
7
  Release 0.5.6 - 2015/03/02
2
8
 
3
9
  * Force to use aws-sdk-v1, not aws-sdk
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.6
1
+ 0.5.7
@@ -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[:endpoint] = @s3_endpoint if @s3_endpoint
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.6
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-01 00:00:00.000000000 Z
12
+ date: 2015-03-31 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: fluentd