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
sql: `settings.ip_configuration.require_ssl` is now deprecated within `google_sql_database_instance`. Please use `settings.ip_configuration.ssl_mode` instead.
@@ -438,13 +437,6 @@ is set to true. Defaults to ZONAL.`,
438
437
AtLeastOneOf: ipConfigurationKeys,
439
438
Description: `Whether this Cloud SQL instance should be assigned a public IPV4 address. At least ipv4_enabled must be enabled or a private_network must be configured.`,
440
439
},
441
-
"require_ssl": {
442
-
Type: schema.TypeBool,
443
-
Optional: true,
444
-
AtLeastOneOf: ipConfigurationKeys,
445
-
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.`,
446
-
Deprecated: "`require_ssl` will be fully deprecated in a future major release. For now, please use `ssl_mode` with a compatible `require_ssl` value instead.",
447
-
},
448
440
"private_network": {
449
441
Type: schema.TypeString,
450
442
Optional: true,
@@ -493,7 +485,7 @@ is set to true. Defaults to ZONAL.`,
Description: `Specify how SSL connection should be enforced in DB connections. This field provides more SSL enforcment options compared to require_ssl. To change this field, also set the correspoding value in require_ssl until next major release.`,
488
+
Description: `Specify how SSL connection should be enforced in DB connections.`,
// 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.
Copy file name to clipboardExpand all lines: website/docs/r/sql_database_instance.html.markdown
+1-6
Original file line number
Diff line number
Diff line change
@@ -375,12 +375,7 @@ Specifying a network enables private IP.
375
375
At least `ipv4_enabled` must be enabled or a `private_network` must be configured.
376
376
This setting can be updated, but it cannot be removed after it is set.
377
377
378
-
*`require_ssl` - (Optional, Deprecated) Whether SSL connections over IP are enforced or not. To change this field, also set the corresponding value in `ssl_mode`. It will be fully deprecated in a future major release. For now, please use `ssl_mode` with a compatible `require_ssl` value instead.
379
-
380
-
*`ssl_mode` - (Optional) Specify how SSL connection should be enforced in DB connections. This field provides more SSL enforcment options compared to `require_ssl`. To change this field, also set the correspoding value in `require_ssl`.
381
-
* For PostgreSQL instances, the value pairs are listed in the [API reference doc](https://cloud.google.com/sql/docs/postgres/admin-api/rest/v1beta4/instances#ipconfiguration) for `ssl_mode` field.
382
-
* For MySQL instances, use the same value pairs as the PostgreSQL instances.
383
-
* For SQL Server instances, set it to `ALLOW_UNENCRYPTED_AND_ENCRYPTED` when `require_ssl=false` and `ENCRYPTED_ONLY` otherwise.
378
+
*`ssl_mode` - (Optional) Specify how SSL connection should be enforced in DB connections.
384
379
385
380
*`allocated_ip_range` - (Optional) The name of the allocated ip range for the private ip CloudSQL instance. For example: "google-managed-services-default". If set, the instance ip will be created in the allocated range. The range name must comply with [RFC 1035](https://datatracker.ietf.org/doc/html/rfc1035). Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?.
0 commit comments