All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Enabling of some required Google APIs
- Variables
private_network_nameandprivate_subnet_name(both default:default) which you can set to create private connected to a non-default VPC
examples/mcp-toolbox
- Updated google and google-beta providers from
~> 6.45to~> 7.12(Upgrade Guide)
- Output Cloud SQL instance DNS name
- Backups configuration
- Variable
retain_backups_on_delete(default:false). If backups are on-demand, then user has the responsibility to delete, otherwise they will be retained based on the retention policy - Maintenance window configuration
- Added
depends_onforgoogle_sql_userandgoogle_sql_databaseto avoid errors when destroying resources
- Managed Connection Pool support
- Variable
connection_pooling_enabled(default:false) - Variable
connection_pooling_flags(default:[])
- Variable
machine_typechanged tomachine_tierto better reflect the different naming formats
- Output locals errors when public IP and/or PSC not enabled
- Private Service Connect (PSC) support (sample Terraform file:
psc_sample.tf) - Variable
allowed_consumer_projects(default:[]) - Variable
ipv4_enabled(default:true) - Variable
enable_private_path_for_gcp_services(default:false) - Output public IP of Cloud SQL instance if one exists
examples/mysql_client.pyfor testing connectivity
- Variable
connector_enforcementdefault changed fromREQUIREDtoNOT_REQUIRED - Switched from
cloud_sql_proxy(v1) to a simplercloud-sql-proxy(v2) command for connecting to the Cloud SQL instance - Reorganized
output.tffor improved readability - Renamed
examples/python_client.pytoexamples/psql_client.py
- Private networks (Private Services Access) for default VPC network
- Dynamic block for
database_flags - Dynamic block for
authorized_networks - Variable,
ssl_mode(default:ENCYRYPTED_ONLY) examples/python_client.pyfor testing connectivityterraform.tfvars.sample
- Default
machine_typefromg1-smalltof1-micro
- Initial commit