After terminating my previous environment in EB CLI with eb terminate
, which executed successfully, I have been trying to deploy my node app in a different region. When I navigate to my app folder containing and hit eb init
, I am prompted with
$ eb init
Cannot setup CodeCommit because there is no Source Control setup, continuing with initialization
What can I do from here?
I double checked in IAM and the user has full codecommit access
It looks like you have not initialized git in your directory. Try running git init
in the directory you want to use with CodeCommit via the EB CLI.
If you have done this and it is still not working the environment you are using may not be accessible to git and may need to be installed.
It happened to me.
I turned out that it happens because I already have a .elasticbeanstalk
folder in this directory.
Which means there is already an elastic bean application configured.
And it will continue with the existing configurations.
Delete the .elasticbeanstalk
directory.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With