I'm trying to run a pipeline script to load a Rails App into Elastic Beanstalk.
My Bitbucket Pipelines yml looks like this
pipelines:
default:
- step:
caches:
- bundler
- pip
script:
- apt-get update && apt-get install -y python-dev
- curl -O https://bootstrap.pypa.io/get-pip.py
- python get-pip.py
- pip install awsebcli --upgrade
- pip install awscli --upgrade
- bundle install --path vendor/bundle
- aws --version
- eb init Pathfinder -r eu-west-2 -p arn:aws:elasticbeanstalk:eu-west-2::platform/Puma with Ruby 2.6 running on 64bit Amazon Linux/2.9.0
- eb deploy Pathfinder-env
definitions:
caches:
bundler: vendor/bundle
pip: ~/.cache/pip
And the eb init line is causing this error. Anyone have any experience of this?
eb: error: unrecognized arguments: with Ruby 2.6 running on 64bit Amazon Linux/2.9.0