A child module automatically inherits its parent's default (un-aliased) provider configurations. The provider versions below are informational only and do not need to align with the provider configurations from its parent.
No requirements.
Name | Version |
---|---|
6.2.0 | |
random | 3.6.3 |
No modules.
Name | Type |
---|---|
google_sql_database_instance.this | resource |
google_sql_ssl_cert.this | resource |
random_id.this | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
availability_type | The availability type of the Cloud SQL instance | string |
"REGIONAL" |
no |
backup_start_time | Time indicating when backup configuration starts | string |
"04:00" |
no |
client_certs | A set of client cert names, note: 10 max per instance | set(string) |
[] |
no |
database_version | The MySQL, PostgreSQL or SQL Server version to use. | string |
"POSTGRES_15" |
no |
deletion_protection | Whether or not to allow Terraform to destroy the instance | bool |
true |
no |
host_project_id | Host project ID for the shared VPC | string |
"" |
no |
instance_name | The name of the instance | string |
n/a | yes |
labels | A map of key/value pairs to assign to the resources being created | map(string) |
{} |
no |
machine_tier | The machine type to use. Postgres supports only shared-core machine types, and custom machine types such as db-custom-2-13312 | string |
"db-f1-micro" |
no |
mw_day | Maintenance window day | number |
4 |
no |
mw_hour | Maintenance window hour | number |
17 |
no |
network | The VPC network from which the Cloud SQL instance is accessible for private IP | string |
n/a | yes |
point_in_time_recovery_enabled | True if Point-in-time recovery is enabled. Will restart database if enabled after instance creation. Valid only for PostgreSQL instances | bool |
false |
no |
postgres_database_flags | The database flags for Cloud SQL. See PostgreSQL Flags | list(object({ |
[] |
no |
project | The ID of the project in which the resource belongs | string |
n/a | yes |
query_insights_enabled | True if Query Insights feature is enabled | bool |
true |
no |
query_plans_per_minute | Number of query execution plans captured by Insights per minute for all queries combined. Between 0 and 20 | number |
5 |
no |
query_string_length | Maximum query length stored in bytes. Between 256 and 4500 | number |
1024 |
no |
record_application_tags | True if Query Insights will record application tags from query when enabled | bool |
true |
no |
record_client_address | True if Query Insights will record client address when enabled | bool |
true |
no |
region | The region in which the resource belongs | string |
n/a | yes |
update_track | Receive updates earlier | string |
"stable" |
no |
Name | Description |
---|---|
client_cert | The client certificate |
instance | SQL instance name |
instance_server_ca_cert | The SQL instance server CA certificate |
private_ip_address | SQL instance private IP address |
private_key | The client private key |