jaskowitchious
jaskowitchious

Reputation: 17

How to create initial database on Amazon Aurora PostgreSQL serverless cluster

I have created a serverless DB cluster using

aws rds create-db-cluster --db-cluster-identifier psql-test --engine aurora-postgresql --engine-version 10.12 --engine-mode serverless --scaling-configuration MinCapacity=2,MaxCapacity=4,SecondsUntilAutoPause=1000,AutoPause=true --enable-http-endpoint --master-username postgres --master-user-password password

Which parameter should be used to include an initial database like it is possible here?

enter image description here

Upvotes: 0

Views: 759

Answers (1)

Andreu Gallofré
Andreu Gallofré

Reputation: 1663

You can find this information on the official API documentation or on the help information of the command

But you have to use --database-name nameOfYourDB

--database-name (string)
      The name for your database of up to 64 alphanumeric  characters.  If
      you  do  not provide a name, Amazon RDS doesn't create a database in
      the DB cluster you are creating.

Upvotes: 1

Related Questions