Using Terraform To Deploy Application On Google Cloud Run With CI/CD And API Gateway
Published in
2 min readMay 1, 2021
In this post, we’ll see how we can create terraform code to deploy a simple node application to Google Cloud Run which will use API Gateway as frontend. We’ll also configure CI/CD for this application using Cloud Build.
Note: We’ll be using gcloud shell to execute our Terraform code. So make sure to install Terraform in gcloud shell.
Step 1: Get the code given at https://github.com/vinycoolguy2015/awslambda/tree/master/gcp_cloudrun_apigateway. This has modules to…