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

HashiCorp and Red Hat, better together
The IBM acquisition of HashiCorp sets up a vision for more tightly integrating HashiCorp Terraform and Vault with Red Hat Ansible and OpenShift

Terraform migrate now generally available
The GA release of Terraform migrate introduces several improvements and new capabilities based on feedback from our beta users.

Simplify policy adoption in Terraform with pre-written Sentinel policies for AWS
The new pre-written policy library co-developed by HashiCorp and AWS is now generally available, aiming to reduce the barrier of adoption for policy as code infrastructure workflows.