We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1f51b9 commit 3ac64e5Copy full SHA for 3ac64e5
lib/fluent/plugin/in_s3.rb
@@ -218,11 +218,7 @@ def setup_credentials
218
c = @shared_credentials
219
credentials_options[:path] = c.path if c.path
220
credentials_options[:profile_name] = c.profile_name if c.profile_name
221
- if ENV["AWS_CONTAINER_CREDENTIALS_RELATIVE_URI"]
222
- options[:credentials] = Aws::ECSCredentials.new(credentials_options)
223
- else
224
- options[:credentials] = Aws::InstanceProfileCredentials.new(credentials_options)
225
- end
+ options[:credentials] = Aws::ECSCredentials.new(credentials_options)
226
else
227
# Use default credentials
228
# See http://docs.aws.amazon.com/sdkforruby/api/Aws/S3/Client.html
0 commit comments