Terraform Sentinel v2 Imports Are Now GA
Last month we announced a technical preview of the next generation of Sentinel imports in Terraform Cloud. We are now happy to announce the API is stable and generally available for use in production for Terraform Sentinel policies.
These imports still need to be imported using the additional "/v2" suffix at this point in time, so make sure to use import "tfconfig/v2"
, import "tfplan/v2"
and import "tfstate/v2"
in your Sentinel policies. In the future, these imports will be transitioned into the default path and the old v1 import API will be sunsetted. When this is done, an option to control this behavior will be provided in Terraform Cloud.
For the most up to date documentation on the imports, check out these pages within the Terraform Cloud documentation.
Sentinel is offered in Terraform Cloud as part of the Team and Governance Tier or in Terraform Enterprise. To get started with Terraform Cloud, you can sign up for a free account. Finally, if you are an existing TFC or TFE customer, and you have feedback regarding the new imports, submit a support ticket and let us know.
Sign up for the latest HashiCorp news
More blog posts like this one

Scalable, secure infrastructure code the right way: Use a private module registry
How do you ensure standard security, compliance, and reliability best practices are followed across your organization when provisioning infrastructure? A private module registry is the first step.

Vault Enterprise 1.20: SCEP, usage reporting, cloud secret imports
Vault 1.20 adds smarter, streamlined security workflows with encryption updates and UX improvements. The Terraform Vault provider adds ephemeral values.

Automating workload identity for Vault and Nomad with Terraform
Learn how to use HashiCorp Vault and workload identities in your Nomad-orchestrated applications.