cloudsql

google-terraform-modules/cloudsql/google

Terraform Module HCL GOOGLE

Create instance CloudSQL (GCP)

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

Google Cloud Platform - Cloud SQL Examples Standalone MySQL Instance (Zonal) `` module "cloudsql-mysql" { source = "git::ssh://git@github.com:google-terraform-modules/terraform-google-cloudsql.git" general = { name = "mydatabase" env = "dev" region = "europe-west1" db_version = "MYSQL_5_6" } instance = { zone = "b" } } ` PostgreSQL Instance HA Cluster (Regional) ` module "cloudsql-postgres-ha" { source = "git::ssh://git@github.com:google-terraform-modules/terraform-google-cloudsql.git" general = { name = "mydatabase" env = "dev" region = "europe-west1" db_version = "POSTGRES_9_6" } instance = { zone = "b" availability_type = "REGIONAL" } } ` Inputs | Name | Description | Type | Default | Required | |------|-------------|:----:|:-----:|:-----:| | authorized_gae_applications | A list of Goog

Inputs (4)
NameTypeDescriptionDefault
generalanyGeneral configuration required
instanceanyInstance configuration required
labelsanyGlobal labels{}
authorized_gae_applicationsanyA list of Google App Engine (GAE) project names that are allowed to access this []
Outputs (8)
instance_sql_ipv4 — The IPv4 address assigned
instance_sql_ipv4_time_to_retire — The time this IP address will be retired, in RFC 3339 format
users_self_link — The URL of the created resource
server_ca_cert — The CA Certificate used to connect to the SQL Instance via SSL
server_ca_cert_common_name — The CN valid for the CA Cert
server_ca_cert_create_time — Creation time of the CA Cert
server_ca_cert_expiration_time — Expiration time of the CA Cert
server_ca_cert_sha1_fingerprint — SHA Fingerprint of the CA Cert
Resources (1)
google_sql_database_instance
Details
FrameworkTerraform Module
LanguageHCL
Version1.13.0
Cloud GOOGLE
★ Stars6
Forks12
Total downloads5.9k
Inputs4
Outputs8
Resources1
LicenseMIT
Namespacegoogle-terraform-modules
Updated