cloudsql-ha
google-terraform-modules/cloudsql-ha/google
Create Google CloudSQL HA (RR)
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
| Name | Type | Description | Default |
|---|---|---|---|
| replica | any | Replica configuration | required |
| general | any | General configuration | required |
| master | any | Master configuration | required |
| labels | any | Global labels | {} |
| authorized_gae_applications_master | any | A list of Google App Engine (GAE) project names that are allowed to access this | [] |
| authorized_gae_applications_replica | any | A list of Google App Engine (GAE) project names that are allowed to access this | [] |
master_server_ca_cert_expiration_time — Expiration time of the CA Certmaster_instance_sql_ipv4 — The IPv4 address assigned for mastermaster_instance_sql_ipv4_time_to_retire — The time this IP address will be retired, in RFC 3339 formatmaster_server_ca_cert — The CA Certificate used to connect to the SQL Instance via SSLmaster_server_ca_cert_common_name — The CN valid for the CA Certmaster_server_ca_cert_create_time — Creation time of the CA Certreplica_users_self_link — The URL of the created resourcereplica_instance_sql_ipv4 — The IPv4 address assigned for replicareplica_instance_sql_ipv4_time_to_retire — The time this IP address will be retired, in RFC 3339 formatreplica_server_ca_cert_expiration_time — Expiration time of the CA Certmaster_users_self_link — The URL of the created resourcemaster_server_ca_cert_sha1_fingerprint — SHA Fingerprint of the CA Certreplica_server_ca_cert — The CA Certificate used to connect to the SQL Instance via SSLreplica_server_ca_cert_common_name — The CN valid for the CA Certreplica_server_ca_cert_create_time — Creation time of the CA Certreplica_server_ca_cert_sha1_fingerprint — SHA Fingerprint of the CA CertTerraform Module to define a consistent naming convention by (namespace, stage,
Terraform module that provision an S3 bucket to store the terraform.tfstate file
Terraform Module that defines a VPC with public/private subnets across multiple
Terraform module to provision an AWS Elastic Beanstalk Environment