[Answered ]-Elastic Beanstalk failed to update local Git configuration

0👍


See comment by Josh Davis below.

1👍

What do you mean “git is not being configured to run this command.” Can you type ‘git’ on the command line, or is git not configured at all? If the latter, you can add git to your PATH variable by following these instructions:

http://www.tech-recipes.com/rx/2621/os_x_change_path_environment_variable/

This should allow you to use git in the command prompt – just type git.

Once that’s done you can set up your AWSDevTools by downloading them from here:

http://aws.amazon.com/developertools/AWS-Elastic-Beanstalk/6752709412171743

You already have the .elasticbeanstalk folder, so you may already have these installed? What is in your .elasticbeanstalk folder? (Don’t post the contents of the file as it may be your AWS Keys, just let us know if it is or not.) If it is, skip to the last instruction. If it is not your keys, skip to the git aws.config line.

Then cd into your repository and run the Repo Setup:

~/Downloads/elasticbeanstalk-cli/AWSDevTools/Linux/AWSDevTools-RepositorySetup.sh

Then do git aws.config, enter your access keys and app/environment for EB.

Then you can git add ., git commit -m "commit message", and git aws.push.

1👍

I had some of the same problems using their instructions and then one of the techs at AWS came back to me after asking in the Amazon forums and said that they were running into a few problems since switching to the python shell over from the Java/Ruby hybrid tool.

The instructions at that part had said to run:

sh {path}/AWSDevTools-RepositorySetup.sh 

But I found out that it worked if you used bash vs sh and then everything worked from there

bash {path}/AWSDevTools-RepositorySetup.sh
👤pquery

Leave a comment