Terraform sample for Cloud Run+Cloud SQL
- Terraform >= 1.1
Create secret.tfvars
file and put the database password as db_password
as follows.
db_password = "your_database_password"
Plan and Apply with your Google Cloud Project.
$ terraform plan -var-file="secret.tfvars"
$ terraform apply -var-file="secret.tfvars"