Skip to content

Commit ab12c28

Browse files
committed
Update README.md
1 parent 8ff768c commit ab12c28

File tree

1 file changed

+3
-1
lines changed
  • operations/sentinel-policies-scripts

1 file changed

+3
-1
lines changed

operations/sentinel-policies-scripts/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ The script uses curl to interact with Terraform Enterprise via the TFE API. It
2525

2626
## Importing Policies
2727

28-
The import_policies.sh script imports all policies in a directory into a specified organization on a specified server. It also adds all of them to a specified policy set, using a policy set ID (which can be determined by looking at the policy set's URL). Note that you must use the policy set's ID (e.g., polset-rCLeCwoSBUHXDC7L), not the name of the policy set.
28+
The import_policies.sh script imports all policies in a directory into a specified organization on a specified server. It also adds all of them to a specified policy set, using a policy set ID which is set through the first CLI argument.
29+
30+
For example: `./import_policies.sh sample` where \<sample>\ is the desired name of the policy set.
2931

3032
Note that you will get errors if any of the policies you are importing already exist. Please delete any policies you plan to import first if they already exist in your organization.
3133

0 commit comments

Comments
 (0)