This drives me crazy, it keeps returning:
/home/travis/.rvm/gems/ruby-2.4.5/gems/aws-sdk-resources-2.11.341/lib/aws-sdk-resources/resource.rb:134:in `rescue in exists?’: Aws::S3::Errors::BadRequest
309 from /home/travis/.rvm/gems/ruby-2.4.5/gems/aws-sdk-resources-2.11.341/lib/aws-sdk-resources/resource.rb:130:in `exists?’
310 from /home/travis/.rvm/gems/ruby-2.4.5/gems/dpl-elastic_beanstalk-1.10.12/lib/dpl/provider/elastic_beanstalk.rb:101:in `bucket_exists?’
311 from /home/travis/.rvm/gems/ruby-2.4.5/gems/dpl-elastic_beanstalk-1.10.12/lib/dpl/provider/elastic_beanstalk.rb:41:in `push_app’
312 from /home/travis/.rvm/gems/ruby-2.4.5/gems/dpl-1.10.12/lib/dpl/provider.rb:199:in `block in deploy’
…
But I promise I double-check it and confirm that the bucket exists.
This is the build link: https://travis-ci.com/ieiayaobb/dynamoc_web/jobs/228589235