I've started getting the following error on git aws.push
when using AWS-ElasticBeanstalk-CLI-2.6.0 (version which required Ruby):
MacBook-Pro:apps-prd katia$ git aws.push
Counting objects: 18, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (17/17), done.
Writing objects: 100% (18/18), 126.20 KiB | 0 bytes/s, done.
Total 18 (delta 10), reused 4 (delta 1)
error: RPC failed; result=22, HTTP code = 400
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everything up-to-date
I came across this solution which suggested getting the recent version of EB Command Line tools and resetting all of the places it is referenced.
After getting recent ASW CLI (2.6.4) and reconfiguring I am getting this message on git aws.push
:
MacBook-Pro:apps-prd katia$ git aws.push
Updating the AWS Elastic Beanstalk environment eb-prescoapps-php-env...
Environment update initiated successfully.
However, it takes around 20-30 minutes (long pose between line 2 and 3) to deploy my application after every commit, whereas before it would take 1-3 minutes depending on a commit.
Is this a standard behaviour? Does the whole applications gets deployed and not just the committed changes? Is there a way of fixing it?