Hey there!
I am getting the following error when deploying my app to Elastic Beanstalk:
Deploying application
S3 client configured for "eu-west-2" but the bucket "elasticbeanstalk-eu-west-2-364597724349" is in "eu-west-2"; Please configure the proper region to avoid multiple unnecessary redirects and signing attempts
/home/travis/.rvm/gems/ruby-2.4.5/gems/aws-sdk-resources-2.11.302/lib/aws-sdk-resources/resource.rb:134:in `rescue in exists?': Aws::S3::Errors::BadRequest
from /home/travis/.rvm/gems/ruby-2.4.5/gems/aws-sdk-resources-2.11.302/lib/aws-sdk-resources/resource.rb:130:in `exists?'
from /home/travis/.rvm/gems/ruby-2.4.5/gems/dpl-elastic_beanstalk-1.10.11/lib/dpl/provider/elastic_beanstalk.rb:101:in `bucket_exists?'
from /home/travis/.rvm/gems/ruby-2.4.5/gems/dpl-elastic_beanstalk-1.10.11/lib/dpl/provider/elastic_beanstalk.rb:41:in `push_app'
from /home/travis/.rvm/gems/ruby-2.4.5/gems/dpl-1.10.11/lib/dpl/provider.rb:199:in `block in deploy'
from /home/travis/.rvm/gems/ruby-2.4.5/gems/dpl-1.10.11/lib/dpl/cli.rb:41:in `fold'
from /home/travis/.rvm/gems/ruby-2.4.5/gems/dpl-1.10.11/lib/dpl/provider.rb:199:in `deploy'
from /home/travis/.rvm/gems/ruby-2.4.5/gems/dpl-1.10.11/lib/dpl/cli.rb:32:in `run'
from /home/travis/.rvm/gems/ruby-2.4.5/gems/dpl-1.10.11/lib/dpl/cli.rb:7:in `run'
from /home/travis/.rvm/gems/ruby-2.4.5/gems/dpl-1.10.11/bin/dpl:5:in `<top (required)>'
from /home/travis/.rvm/gems/ruby-2.4.5/bin/dpl:23:in `load'
from /home/travis/.rvm/gems/ruby-2.4.5/bin/dpl:23:in `<main>'
failed to deploy
I suspect the error is here:
S3 client configured for “eu-west-2” but the bucket “elasticbeanstalk-eu-west-2-364597724349” is in “eu-west-2”; Please configure the proper region to avoid multiple unnecessary redirects and signing attempts
But does it really make sense?
Is there any way to fix this?
P.S.: For the @Travis-CI-Staff, the repo is at https://travis-ci.com/Kodular/Kodular-Auth