FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Rich Wareham's avatar
Dr Rich Wareham authored
Allow an optional domain mapping to be configured for the webapp. If a
domain mapping is configured, appropriate DNS records are provided as
outputs.

Closes #2
864fa716
History

GCP Cloud Run manager terraform module

This module manages a Cloud Run-hosted container. It takes care of making sure the container is connected to a Cloud SQL instance and sets environment variables on the application.

Specify the project to deploy into on the command line. So, for example, to deploy to the project my-project:

$ terraform init
$ terraform apply -var project=my-project

In this example, terraform is configured to use default application credentials. For Google APIs and these credentials should correspond to a user with owner or editor access to the target project. You can use the gcloud command line tool to set your personal credentials as application default credentials. See the gcloud auth application-default command output for more information.