I keep getting this error after just updating from logstash version 6.6.2
[logstash.log][ERROR] A plugin had an unrecoverable error. Will restart this plugin. Pipeline_id:main Plugin: <LogStash::Inputs::S3 access_key_id=>"", bucket=>"", codec=><LogStash::Codecs::Plain id=>"plain_93b62a2d-db94-47a7-abb6-2956a86bbe80", enable_metric=>true, charset=>"UTF-8">, secret_access_key=><password>, id=>"b71b6504746fbc6d04091b750cce3a209b523310d14533798588c4421a62d647", region=>"us-west-2", type=>"elblogs", enable_metric=>true, role_session_name=>"logstash", delete=>false, interval=>60, watch_for_new_files=>true, temporary_directory=>"/tmp/logstash", include_object_properties=>false> Error: Permission denied - /tmp/logstash/715765874552_elasticloadbalancing_us-west-2_app.production-ProdALB1.b24605f1039cbe7b_20181119T1345Z_35.166.245.20_5lukmfe2.log.gz Exception: Errno::EACCES Stack: org/jruby/RubyIO.java:1236:in sysopen' org/jruby/RubyFile.java:361:in
initialize' org/jruby/RubyIO.java:1155:in open' /usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-input-s3-3.4.1/lib/logstash/inputs/s3.rb:415:in
download_remote_file' /usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-input-s3-3.4.1/lib/logstash/inputs/s3.rb:392:in process_log' /usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-input-s3-3.4.1/lib/logstash/inputs/s3.rb:179:in
block in process_files' org/jruby/RubyArray.java:1792:in each' /usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-input-s3-3.4.1/lib/logstash/inputs/s3.rb:174:in
process_files' /usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-input-s3-3.4.1/lib/logstash/inputs/s3.rb:118:in block in run' /usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/stud-0.0.23/lib/stud/interval.rb:20:in
interval' /usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-input-s3-3.4.1/lib/logstash/inputs/s3.rb:117:in run' /usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:297:in
inputworker' /usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:290:in `block in start_input'