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
Copy file name to clipboardExpand all lines: google/resource_sql_database_instance.go
+7-2
Original file line number
Diff line number
Diff line change
@@ -310,7 +310,6 @@ settings.backup_configuration.binary_log_enabled are both set to true.`,
310
310
"allocated_ip_range": {
311
311
Type: schema.TypeString,
312
312
Optional: true,
313
-
ForceNew: true,
314
313
AtLeastOneOf: ipConfigurationKeys,
315
314
Description: `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. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?.`,
316
315
},
@@ -684,6 +683,11 @@ settings.backup_configuration.binary_log_enabled are both set to true.`,
Description: `The timestamp of the point in time that should be restored.`,
686
685
},
686
+
"allocated_ip_range": {
687
+
Type: schema.TypeString,
688
+
Optional: true,
689
+
Description: `The name of the allocated ip range for the private ip CloudSQL instance. For example: "google-managed-services-default". If set, the cloned instance ip will be created in the allocated range. The range name must comply with [RFC 1035](https://tools.ietf.org/html/rfc1035). Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?.`,
Copy file name to clipboardExpand all lines: website/docs/r/sql_database_instance.html.markdown
+2
Original file line number
Diff line number
Diff line change
@@ -379,6 +379,8 @@ The optional `clone` block supports:
379
379
380
380
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
381
381
382
+
*`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 cloned instance ip will be created in the allocated range. The range name must comply with [RFC 1035](https://tools.ietf.org/html/rfc1035). Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?.
383
+
382
384
The optional `restore_backup_context` block supports:
383
385
**NOTE:** Restoring from a backup is an imperative action and not recommended via Terraform. Adding or modifying this
384
386
block during resource creation/update will trigger the restore action after the resource is created/updated.
0 commit comments