Skip to content

Commit

Permalink
feat(gcp sql): always force ssl connections on cloud sql
Browse files Browse the repository at this point in the history
  • Loading branch information
tweakster committed Dec 2, 2024
1 parent dfc6306 commit d7934de
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/gcp_sql/instance.tf
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ resource "google_sql_database_instance" "this" {
query_insights_enabled = true
}

ip_configuration {
require_ssl = true
}

maintenance_window {
day = 2 # Tuesday
hour = 3
Expand Down

0 comments on commit d7934de

Please sign in to comment.