Skip to content

chore(infra): disable public IPv4 on primary Cloud SQL instance - #6493

Open
michaelkedar wants to merge 1 commit into
google:masterfrom
michaelkedar:disable-postgres-ipv4
Open

michaelkedar wants to merge 1 commit into
google:masterfrom
michaelkedar:disable-postgres-ipv4

Conversation

@michaelkedar

Copy link
Copy Markdown
Member

Overview

Disable public IPv4 (postgres_ipv4_enabled = false) by default on the primary osv-db Cloud SQL PostgreSQL instance now that private-IP migrations (osv-db-migrate) and the GKE pg-tunnel deployment are in place.

Details

  • Changed postgres_ipv4_enabled default from true to false in deployment/terraform/modules/osv_pipeline/variables.tf and simplified its description.
  • Updated deployment/README.md to reflect that both osv-db and osv-db-read-pool are now private-IP only.

Testing

  • Ran poetry run tools/lint_and_format.sh deployment/terraform/modules/osv_pipeline/variables.tf (all Terraform formatting checks passed).
  • PR terraform-plan CI will verify the Cloud SQL ip_configuration.ipv4_enabled diff across environments.

This PR was created with AI assistance.

agy

@michaelkedar
michaelkedar requested review from a team and another-rex December 2, 2026 05:35

This branch has not been deployed

No deployments
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.

1 participant