cloudsql
JamesWoolfenden/cloudsql/gcp
A module to create a private database setup
terraform-gcp-cloudsql     The beginnings of a cloudsql module for GCP, currently targeting a private endpoint. Usage You need to have enabled the API's for this to work if you haven't used this part of GCP before: servicenetworking.googleapis.com sqladmin.googleapis.com Add module.cloudsql.tf to your code:- ``terraform module cloudsql { source = "JamesWoolfenden/cloudsql/gcp" version = "0.1.13" name = var.name network_name = var.network_name database = var.database users = var.users } ` You can also create databases with this module and
| Name | Type | Description | Default |
|---|---|---|---|
| network_name | string | The name of the VCP to provision this in to | required |
| name | string | The name of the database instance | required |
| require_ssl | bool | Require SSL connections or not. | true |
| mw_day | number | 1 | |
| mw_hour | number | 12 | |
| database | list(object({ name = strin | A list of objects that describes if any databases to be created | [] |
| users | list(object({ name = s | A list of user that belong to a database instance | [] |
| instance | map(any) | {
"database_version": "POSTGRES_14",
|
vpc_connectionprivate_ip_addressnetworkinstance