Collections of Sentinel policies are available in the Terraform Registry as policy libraries. You can use these policies in both HCP Terraform and the Sentinel CLI.
The Terraform Registry acts as a remote source for policies that you include in a standard Sentinel configuration file.
You can browse policy libraries available on the Terraform Registry or use keywords to search for policies relevant to your use cases.
To view documentation for specific policies within a library:
You can use one or more policies from a policy library to create an HCP Terraform policy set. You can also use policies directly with the Sentinel CLI. The Terraform Registry auto-generates the HCL code you need to configure each policy.
To get the HCL configuration code for one or more policies:
sentinel.hcl
file.We recommend defining all of the policies for an HCP Terraform workspace in a single sentinel.hcl
file. You may wish to change the enforcement level in the auto-generated HCL code snippets. By default, this is set to advisory
.
After you add the configuration code to your sentinel.hcl
file, create a new policy set in HCP Terraform and apply it to one or more workspaces.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4