Skip to content

Commit

Permalink
feat: allow private path gcp service access to pg (#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
krtk6160 authored May 12, 2024
1 parent 2517d04 commit ee9f955
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions modules/postgresql/gcp/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,9 @@ resource "google_sql_database_instance" "instance" {
}

ip_configuration {
ipv4_enabled = false
private_network = data.google_compute_network.vpc.id
ipv4_enabled = false
private_network = data.google_compute_network.vpc.id
enable_private_path_for_google_cloud_services = true
}
}

Expand Down

0 comments on commit ee9f955

Please sign in to comment.