Modified awstemplate to setup the database username and password