Files
tomholford c2dd590bb0 Fix: remove deprecated quoted references
Addresses this warning:

> In this context, references are expected literally rather than in quotes.
Terraform 0.11 and earlier required quotes, but quoted references are now
deprecated and will be removed in a future version of Terraform. Remove the
quotes surrounding this reference to silence this warning.
2020-07-23 18:36:59 +09:00
..
2019-06-25 12:15:46 +02:00
2019-05-09 17:56:33 +03:00
2019-06-25 12:15:46 +02:00

Client Certificate Example

This folder contains an example of how to create client certificates for Cloud SQL database instance. There can be only one pending operation at a given point of time because of the inherent Cloud SQL system architecture. This is a limitation on the concurrent writes to a Cloud SQL database. To resolve this issue, we will create the certificate in a separate module.

Creating the certificate while there are other operations ongoing will result in googleapi: Error 409: Operation failed because another operation was already in progress.

How do you run this example?

To run this example, you need to:

  1. Install Terraform.
  2. Open up variables.tf and set secrets at the top of the file as environment variables and fill in any other variables in the file that don't have defaults.
  3. terraform init.
  4. terraform plan.
  5. If the plan looks good, run terraform apply.

When the templates are applied, Terraform will output the IP address of the instance and the instance path for connecting using the Cloud SQL Proxy.