Automating the deployment
As we discussed in the previous section, serverless offerings such as Google Cloud Functions and Google Cloud Storage abstract away the operating system configuration. Therefore, when we deploy, we only need an application package that is compatible with the target platform. In this section, we’ll create an automation pipeline using GitHub Actions that will provision our application to its new serverless home in Google Cloud.
Terraform
The first thing that we need to do is to provision our environment to Google Cloud. This is going to be extremely similar to the way we did this in the previous chapters. In Chapter 13, we needed to ensure that our virtual machine images were built and available before we executed Terraform because the Terraform code base referenced the virtual machine images when it provisioned the virtual machines. This means that with our virtual machine architecture, application deployment happens before Terraform provisions...