1
0
mirror of https://github.com/raseels-repos/golang-saas-starter-kit.git synced 2025-06-23 00:37:48 +02:00

Auto generate random password for creation of RDS database instance.

This commit is contained in:
Lee Brown
2019-07-15 18:34:58 -08:00
parent 72ef940eb1
commit 97e0249d38
3 changed files with 9 additions and 2 deletions

View File

@ -831,7 +831,7 @@ func NewServiceDeployRequest(log *log.Logger, flags ServiceDeployFlags) (*servic
DBName: aws.String("shared"),
Engine: aws.String("postgres"),
MasterUsername: aws.String("god"),
MasterUserPassword: aws.String("mypassword"), // When empty auto generated.
MasterUserPassword: uuid.NewRandom().String(),
Port: aws.Int64(5432),
DBInstanceClass: aws.String("db.t2.small"),
AllocatedStorage: aws.Int64(20),