The next step in the Hands on Guide to Google Cloud says we should connect the Etherpad instance to a database. Let’s see how we create the database using the automated processes we are developing.
Creating the database using Terraform
Cloud SQL module
A SQL instance was created by the terraform code that was generated from the boilerplate. University members can see the sql.tf template. It contains the following:
| |
The University has decided to standardise on Postgres for new database instances. The comment helpfully links to the documentation for the Google SQL module.