cloudsql-ha

google-terraform-modules/cloudsql-ha/google

Terraform Module HCL GOOGLE

Create Google CloudSQL HA (RR)

Install
module "cloudsql-ha" {
source = "google-terraform-modules/cloudsql-ha/google"
version = "1.14.0"
}
plain text: /constructs/tfmod-google-terraform-modules-cloudsql-ha-google/install.txt
⭐ Source on GitHub 📦 Registry page
README

Google Cloud SQL Cluster (HA-RR) Compatible provider 1.14 Warning : this module support only MySQL-RR. Google Cloud Platform doesn't support ZONAL replication. If you want to create a PostgreSQL HA cluster, you can use google-terraform-modules/terraform-google-cloudsql. Example * europe-west1, 1 master (zone b), 1 failover-replica (zone c), db-f1-micro ``hcl module "cloudsql-rr" { source = "git::ssh://git@github.com:google-terraform-modules/terraform-google-cloudsql-ha.git" general = { name = "mydatabase" env = "dev" region = "europe-west1" db_version = "MYSQL_5_6" } master = { zone = "b" } replica = { zone = "c" } } ` Inputs | Name | Description | Type | Default | Required | |------|-------------|:----:|:-----:|:-----:| | authorized_gae_applications_master | A list of Google App Engine (G

Inputs (6)
NameTypeDescriptionDefault
replicaanyReplica configuration required
generalanyGeneral configuration required
masteranyMaster configuration required
labelsanyGlobal labels{}
authorized_gae_applications_masteranyA list of Google App Engine (GAE) project names that are allowed to access this []
authorized_gae_applications_replicaanyA list of Google App Engine (GAE) project names that are allowed to access this []
Outputs (16)
master_server_ca_cert_expiration_time — Expiration time of the CA Cert
master_instance_sql_ipv4 — The IPv4 address assigned for master
master_instance_sql_ipv4_time_to_retire — The time this IP address will be retired, in RFC 3339 format
master_server_ca_cert — The CA Certificate used to connect to the SQL Instance via SSL
master_server_ca_cert_common_name — The CN valid for the CA Cert
master_server_ca_cert_create_time — Creation time of the CA Cert
replica_users_self_link — The URL of the created resource
replica_instance_sql_ipv4 — The IPv4 address assigned for replica
replica_instance_sql_ipv4_time_to_retire — The time this IP address will be retired, in RFC 3339 format
replica_server_ca_cert_expiration_time — Expiration time of the CA Cert
master_users_self_link — The URL of the created resource
master_server_ca_cert_sha1_fingerprint — SHA Fingerprint of the CA Cert
replica_server_ca_cert — The CA Certificate used to connect to the SQL Instance via SSL
replica_server_ca_cert_common_name — The CN valid for the CA Cert
replica_server_ca_cert_create_time — Creation time of the CA Cert
replica_server_ca_cert_sha1_fingerprint — SHA Fingerprint of the CA Cert
Resources (1)
google_sql_database_instance
Details
FrameworkTerraform Module
LanguageHCL
Version1.14.0
Cloud GOOGLE
★ Stars8
Forks11
Total downloads5.7k
Inputs6
Outputs16
Resources1
LicenseMIT
Namespacegoogle-terraform-modules
Updated