terraform.tfvars
file in the root of the cloned repository.
SQL Admin
Compute Engine
Service Networking
VPC Networks
and select Create VPC Network
.Create
.
SQL
and select Create Instance
.Show Configuration Options
to drop down more options.Connections
tab, disable Public IP and enable Private IP.Set up connection
.Continue
and Create Connection
gcloud
CLI to edit the Cloud SQL instance. When patching the Cloud SQL instance, you must specify the allowed consumer project id(s) that will be used to consume the instance.
Use the following gcloud
command:
---enable-private-service-connect
flag.Connections
for your Cloud SQL instance.