Skip to content

Conversation

@hostekevin
Copy link
Contributor

Add support for configuring server_ca_mode and server_ca_pool in the PostgreSQL module's IP configuration. This enables custom certificate authority management for CloudSQL instances.

Also add support for custom Subject Alternative Names (SANs) to allow custom DNS names to be included in the server certificate.

This fixes an issue with cloud-sql-proxy version after 2.15.2 that fails to verify certificates when using custom domain names, as described in: GoogleCloudPlatform/cloud-sql-proxy#2425

Increase minimum Google provider version to 6.31.0, as the custom_subject_alternative_names field was introduced in this version: https://github.com/hashicorp/terraform-provider-google/releases/tag/v6.31.0

@hostekevin hostekevin requested review from a team, ayushmjain, imrannayer and q2w as code owners June 10, 2025 07:59
@google-cla
Copy link

google-cla bot commented Jun 10, 2025

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

…e-modules#714)

Add support for configuring server_ca_mode and server_ca_pool in the
PostgreSQL module's IP configuration. This enables custom certificate
authority management for CloudSQL instances.

Also add support for custom Subject Alternative Names (SANs) to allow
custom DNS names to be included in the server certificate.

This fixes an issue with cloud-sql-proxy version after 2.15.2 that fails
to verify certificates when using custom domain names, as described in:
GoogleCloudPlatform/cloud-sql-proxy#2425

Increase minimum Google provider version to 6.31.0, as the
custom_subject_alternative_names field was introduced in this version:
https://github.com/hashicorp/terraform-provider-google/releases/tag/v6.31.0
@imrannayer
Copy link
Collaborator

/gcbrun

@imrannayer imrannayer merged commit 15e8be8 into terraform-google-modules:main Jun 12, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants