Deployment of Griddb database with Terraform
I want to create an IaC script using Terraform, it will create a set of resources in AWS. One of the resources is an Ubuntu virtual machine that will run a GridDB database. I used this doc as a starting point – https://docs.griddb.net/latest/gettingstarted/using-apt/. According to the document, the default admin credentials are admin/admin, I’d like my script to change the password to some unique value (which will be unique for each customer). I am not quite sure how to proceed, since the command “gs_passwd admin” expects me to write the new password interactively. The example of code is shown below, could you please advise?