You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: do not store the ssl_mode field locally if it has never been used. (#9428) (#16486)
* fix: do not store the ssl_mode field locally if it has never been used.
This is to make sure the irrelevant workflows doesn't need to set this
ssl_mode field. See
[PR](GoogleCloudPlatform/magic-modules#9396) for
details.
* fix: fix a lint error in resource_sql_database_instance_test.go
[upstream:f729df4775ff38c7560141faf4fcdd488216556f]
Signed-off-by: Modular Magician <[email protected]>
Copy file name to clipboardExpand all lines: google/services/sql/resource_sql_database_instance.go
+10-6
Original file line number
Diff line number
Diff line change
@@ -437,7 +437,7 @@ is set to true. Defaults to ZONAL.`,
437
437
Type: schema.TypeBool,
438
438
Optional: true,
439
439
AtLeastOneOf: ipConfigurationKeys,
440
-
Description: `Whether SSL connections over IP are enforced or not. To change this field, also set the corresponding value in ssl_mode.`,
440
+
Description: `Whether SSL connections over IP are enforced or not. To change this field, also set the corresponding value in ssl_mode if it has been set too.`,
441
441
},
442
442
"private_network": {
443
443
Type: schema.TypeString,
@@ -1616,7 +1616,7 @@ func resourceSqlDatabaseInstanceRead(d *schema.ResourceData, meta interface{}) e
// We don't do ImportStateVerify for the ssl_mode because of the implementation. The ssl_mode is expected to be discarded if the local state doesn't have it.
0 commit comments