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: 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:
0 commit comments