File tree Expand file tree Collapse file tree 4 files changed +6
-8
lines changed
postgres_instance_ssl_cert
sqlserver_instance_ssl_cert Expand file tree Collapse file tree 4 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ resource "google_sql_database_instance" "mysql_instance" {
2222 settings {
2323 tier = " db-f1-micro"
2424 ip_configuration {
25- require_ssl = " true "
25+ ssl_mode = " ENCRYPTED_ONLY "
2626 }
2727 }
2828 # set `deletion_protection` to true, will ensure that one cannot accidentally delete this instance by
@@ -46,7 +46,7 @@ resource "google_sql_database_instance" "postgres_instance" {
4646 settings {
4747 tier = " db-custom-2-7680"
4848 ip_configuration {
49- require_ssl = " true "
49+ ssl_mode = " ENCRYPTED_ONLY "
5050 }
5151 }
5252 # set `deletion_protection` to true, will ensure that one cannot accidentally delete this instance by
@@ -71,7 +71,7 @@ resource "google_sql_database_instance" "sqlserver_instance" {
7171 settings {
7272 tier = " db-custom-2-7680"
7373 ip_configuration {
74- require_ssl = " true "
74+ ssl_mode = " ENCRYPTED_ONLY "
7575 }
7676 }
7777 # set `deletion_protection` to true, will ensure that one cannot accidentally delete this instance by
Original file line number Diff line number Diff line change @@ -25,8 +25,7 @@ resource "google_sql_database_instance" "mysql_instance" {
2525 # The following SSL enforcement options only allow connections encrypted with SSL/TLS and with
2626 # valid client certificates. Please check the API reference for other SSL enforcement options:
2727 # https://cloud.google.com/sql/docs/postgres/admin-api/rest/v1beta4/instances#ipconfiguration
28- require_ssl = " true"
29- ssl_mode = " TRUSTED_CLIENT_CERTIFICATE_REQUIRED"
28+ ssl_mode = " TRUSTED_CLIENT_CERTIFICATE_REQUIRED"
3029 }
3130 }
3231 # set `deletion_protection` to true, will ensure that one cannot accidentally delete this instance by
Original file line number Diff line number Diff line change @@ -25,8 +25,7 @@ resource "google_sql_database_instance" "postgres_instance" {
2525 # The following SSL enforcement options only allow connections encrypted with SSL/TLS and with
2626 # valid client certificates. Please check the API reference for other SSL enforcement options:
2727 # https://cloud.google.com/sql/docs/postgres/admin-api/rest/v1beta4/instances#ipconfiguration
28- require_ssl = " true"
29- ssl_mode = " TRUSTED_CLIENT_CERTIFICATE_REQUIRED"
28+ ssl_mode = " TRUSTED_CLIENT_CERTIFICATE_REQUIRED"
3029 }
3130 }
3231 # set `deletion_protection` to true, will ensure that one cannot accidentally delete this instance by
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ resource "google_sql_database_instance" "sqlserver_instance" {
2323 settings {
2424 tier = " db-custom-2-7680"
2525 ip_configuration {
26- require_ssl = " true "
26+ ssl_mode = " ENCRYPTED_ONLY "
2727 }
2828 }
2929 # set `deletion_protection` to true, will ensure that one cannot accidentally delete this instance by
You can’t perform that action at this time.
0 commit comments