|
| 1 | +diff --git a/lib/fluent/plugin/out_cloudwatch_logs.rb b/lib/fluent/plugin/out_cloudwatch_logs.rb |
| 2 | +index fb5077919..5a57ba985 100644 |
| 3 | +--- a/lib/fluent/plugin/out_cloudwatch_logs.rb |
| 4 | ++++ b/lib/fluent/plugin/out_cloudwatch_logs.rb |
| 5 | +@@ -19,6 +19,7 @@ module Fluent::Plugin |
| 6 | + config_param :aws_sts_session_name, :string, default: 'fluentd' |
| 7 | + config_param :region, :string, :default => nil |
| 8 | + config_param :endpoint, :string, :default => nil |
| 9 | ++ config_param :ssl_verify_peer, :bool, :default => true |
| 10 | + config_param :log_group_name, :string, :default => nil |
| 11 | + config_param :log_stream_name, :string, :default => nil |
| 12 | + config_param :auto_create_stream, :bool, default: false |
| 13 | +@@ -88,6 +89,7 @@ module Fluent::Plugin |
| 14 | + options[:log_level] = ({0 => :trace, 1 => :debug, 2 => :info, 3 => :warn, 4 => :error, 5 => :fatal}[log.level] || :info) if log |
| 15 | + options[:region] = @region if @region |
| 16 | + options[:endpoint] = @endpoint if @endpoint |
| 17 | ++ options[:ssl_verify_peer] = @ssl_verify_peer |
| 18 | + options[:instance_profile_credentials_retries] = @aws_instance_profile_credentials_retries if @aws_instance_profile_credentials_retries |
| 19 | + |
| 20 | + if @aws_use_sts |
0 commit comments