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
Support allocated_ip_range in google_sql_database_instance (#5500) (#10687)
* support allocated_ip_range in sql_database_instance
* support allocated_ip_range
* clean up
* remove unused variable
* separate tests
* increase size of allogcated ip range
Signed-off-by: Modular Magician <[email protected]>
@@ -306,6 +307,13 @@ settings.backup_configuration.binary_log_enabled are both set to true.`,
306
307
AtLeastOneOf: ipConfigurationKeys,
307
308
Description: `The VPC network from which the Cloud SQL instance is accessible for private IP. For example, projects/myProject/global/networks/default. Specifying a network enables private IP. At least ipv4_enabled must be enabled or a private_network must be configured. This setting can be updated, but it cannot be removed after it is set.`,
308
309
},
310
+
"allocated_ip_range": {
311
+
Type: schema.TypeString,
312
+
Optional: true,
313
+
ForceNew: true,
314
+
AtLeastOneOf: ipConfigurationKeys,
315
+
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])?.`,
Copy file name to clipboardExpand all lines: website/docs/r/os_config_os_policy_assignment.html.markdown
+40-40
Original file line number
Diff line number
Diff line change
@@ -703,6 +703,46 @@ The `disruption_budget` block supports:
703
703
(Optional)
704
704
Specifies the relative value defined as a percentage, which will be multiplied by a reference value.
705
705
706
+
The `source` block supports:
707
+
708
+
*`allow_insecure` -
709
+
(Optional)
710
+
Defaults to false. When false, files are subject to validations based on the file type: Remote: A checksum must be specified. Cloud Storage: An object generation number must be specified.
711
+
712
+
*`gcs` -
713
+
(Optional)
714
+
A Cloud Storage object.
715
+
716
+
*`local_path` -
717
+
(Optional)
718
+
A local path within the VM to use.
719
+
720
+
*`remote` -
721
+
(Optional)
722
+
A generic remote file.
723
+
724
+
The `validate` block supports:
725
+
726
+
*`interpreter` -
727
+
(Required)
728
+
Required. The script interpreter to use. Possible values: INTERPRETER_UNSPECIFIED, NONE, SHELL, POWERSHELL
729
+
730
+
*`args` -
731
+
(Optional)
732
+
Optional arguments to pass to the source during execution.
733
+
734
+
*`file` -
735
+
(Optional)
736
+
Required. A deb package.
737
+
738
+
*`output_file_path` -
739
+
(Optional)
740
+
Only recorded for enforce Exec. Path to an output file (that is created by this Exec) whose content will be recorded in OSPolicyResourceCompliance after a successful run. Absence or failure to read this file will result in this ExecResource being non-compliant. Output file size is limited to 100K bytes.
741
+
742
+
*`script` -
743
+
(Optional)
744
+
An inline script. The size of the script is limited to 1024 characters.
745
+
706
746
- - -
707
747
708
748
*`description` -
@@ -952,24 +992,6 @@ The `zypper` block supports:
952
992
(Required)
953
993
Required. A one word, unique name for this repository. This is the `repo id` in the zypper config file and also the `display_name` if `display_name` is omitted. This id is also used as the unique identifier when checking for GuestPolicy conflicts.
954
994
955
-
The `file` block supports:
956
-
957
-
*`allow_insecure` -
958
-
(Optional)
959
-
Defaults to false. When false, files are subject to validations based on the file type: Remote: A checksum must be specified. Cloud Storage: An object generation number must be specified.
960
-
961
-
*`gcs` -
962
-
(Optional)
963
-
A Cloud Storage object.
964
-
965
-
*`local_path` -
966
-
(Optional)
967
-
A local path within the VM to use.
968
-
969
-
*`remote` -
970
-
(Optional)
971
-
A generic remote file.
972
-
973
995
The `gcs` block supports:
974
996
975
997
*`bucket` -
@@ -994,28 +1016,6 @@ The `remote` block supports:
994
1016
(Optional)
995
1017
SHA256 checksum of the remote file.
996
1018
997
-
The `enforce` block supports:
998
-
999
-
*`interpreter` -
1000
-
(Required)
1001
-
Required. The script interpreter to use. Possible values: INTERPRETER_UNSPECIFIED, NONE, SHELL, POWERSHELL
1002
-
1003
-
*`args` -
1004
-
(Optional)
1005
-
Optional arguments to pass to the source during execution.
1006
-
1007
-
*`file` -
1008
-
(Optional)
1009
-
Required. A deb package.
1010
-
1011
-
*`output_file_path` -
1012
-
(Optional)
1013
-
Only recorded for enforce Exec. Path to an output file (that is created by this Exec) whose content will be recorded in OSPolicyResourceCompliance after a successful run. Absence or failure to read this file will result in this ExecResource being non-compliant. Output file size is limited to 100K bytes.
1014
-
1015
-
*`script` -
1016
-
(Optional)
1017
-
An inline script. The size of the script is limited to 1024 characters.
1018
-
1019
1019
## Attributes Reference
1020
1020
1021
1021
In addition to the arguments listed above, the following computed attributes are exported:
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
@@ -295,6 +295,8 @@ This setting can be updated, but it cannot be removed after it is set.
295
295
296
296
*`require_ssl` - (Optional) Whether SSL connections over IP are enforced or not.
297
297
298
+
*`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])?.
299
+
298
300
The optional `settings.ip_configuration.authorized_networks[]` sublist supports:
299
301
300
302
*`expiration_time` - (Optional) The [RFC 3339](https://tools.ietf.org/html/rfc3339)
0 commit comments