Kurt Mueller
Kurt Mueller

Reputation: 3224

eb: error: unrecognized arguments: --database.engine.version

According to the AWS EB documentation for eb create, I should be able to create an elastic beanstalk environment with an postgres database, via this command:

eb create myapp-env --database.engine.version postgres-9.4.1                                                                                        
usage: eb {cmd} <environment_name> [options ...]
eb: error: unrecognized arguments: --database.engine.version postgres-9.4.1

I've also tried these command line arguments to no avail:

 eb create myapp-env -db.engine postgres --database.engine.version 9.4.1 

Any help is appreciated!

Upvotes: 1

Views: 2750

Answers (2)

dbau
dbau

Reputation: 16359

The documentation references the wrong parameter, use this command instead:

eb create myapp-env -db.engine postgres --database.version 9.4.1

Further info about this here: https://forums.aws.amazon.com/message.jspa?messageID=607852#607852

Upvotes: 1

Rohit Banga
Rohit Banga

Reputation: 18926

Can you please make sure you have eb cli 3 installed.

http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/eb-cli3.html

It is slightly different from the eb cli 2.6 version.

Upvotes: 0

Related Questions